method univals

Documentation for method univals assembled from the following types:

class Str

From Str

(Str) method univals

multi method univals(Str:D: --> List)

Returns a list of numeric values represented by each codepoint in the invocant string, and NaN for non-numeric characters.

say "4a¾".univals;  # OUTPUT: «(4 NaN 0.75)␤»