string.numeric.parse accepts empty strings and returns a NaN
this does not fail as I would expect - it returns a
NaN. Is that the expected behavior? What is a nice way to achieve the behavior I'm looking for?NaNconsole.log(type("string.numeric.parse")(""));