On Monday, August 31, Bruce Gray wrote: > I finally settled on using `try` instead of numeric coercion, because > if I am not golfing, I think `try` makes the grep look more like > “filter out the non-numbers” instead of “get rid of the zero values”.
Another option is to use 'val' -- which parses it as a literal -- $ raku -e 'say @*ARGS.map: { val($_) ~~ Numeric }' 1 2 3 a 1e10 (True True True False True) Brian