103 packages found
Node.js API (Node-API)
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Test if a double-precision floating-point numeric value is NaN.
- stdlib
- stdmath
- assertion
- assert
- utilities
- utility
- utils
- util
- math
- mathematics
- ieee754
- floating-point
- float
- number
- View more
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
Test if a value is NaN.
Test if a single-precision floating-point numeric value is NaN.
- stdlib
- stdmath
- assertion
- assert
- utilities
- utility
- utils
- util
- math
- mathematics
- ieee754
- floating-point
- float
- number
- View more
Returns sensible integer value of a given variable. Unlike parseInt it will never return NaN and you can set a default value to be returned in case the variable is undefined! Hence you can write even cleaner code. So if it's supposed to be an integer, cas
- intval
- int val
- int value
- integer value
- int
- integer
- parseint
- parse int
- parse integer
- number
- numeric
- type
- typecast
- isnan
- View more
Converts empty object,empty array, empty string,NaN,null or undefined into the string "N/A" else return the input as-is
Test if a value is an array-like object containing only NaN values.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- typed
- array
- typed array
- is
- istypedarray
- istyped
- View more
Hello World example using NAN
Returns true if the value is a number. comprehensive tests.Study from jonschlinkert/is-number
Check if a value is a number, including every 'number' type
Serializer is a superset of JSON that includes recursive objects, dates, regular expressions, functions and others which you also can expand by yourself
- serializer
- deserializer
- deserialize
- JSON
- extension
- util
- recursive
- object
- Date
- RegExp
- undefined
- NaN
- Infinity
- Map
- View more
Utilities to determine if string is any of the following null, empty, undefined, NaN, or whitespace.
Tiny lib to check if passed argument is strictly number. Strings will not pass!
Get an array of all distinct NaN values supported by the engine. There can be only one!
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Encode hidden data within NaN IEEE 754 floats
Configurable 'typeof' analysis and responses. Javascript ESModule.