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.
NaN
say "4a¾".univals; # OUTPUT: «(4 NaN 0.75)»