is-number

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

Browse on unpkg