Hacker News new | ask | show | jobs
by wlievens 4367 days ago
As dragonwriter has remarked above, the type "Number" includes stuff that isn't a number. That's a bit absurd, it's like having a value "Red" for a "Color" type.

The type should obviously have been called Float or some variant of that, and the type identification function isFloat.