by stevecooperorg · 13y ago · 0 comments
type.isNumber(4); // true
And it'd be easy to add validation versions, too, which might help clarify the types as one call per parameter; type.ensureIsNumber(myParameter); // throws exception if not a number
which might help your code fail faster.No comments yet.