univals
ErrorsCollection

univals

Synthesised documentation from type/Str

From type/Str

See Original text in context

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)␤»