41 packages found
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
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.
This is a JavaScript utility. It returns `true` if the value is a string number written in fixed notation and in decimal base.
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
[](https://discord.gg/ZVERh35) [](https://npmjs.com/fast-is-number) [
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
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
Provides type detection and analysis for ANY Javascript object (including custom types) in any environment, even where native operators falter.
- get-type
- get-type-of
- getTypeOf
- typeanalyser
- type-analyzer
- typeOf
- type-introspection
- type-check
- type-checker
- type-details
- type-detect
- type-detection
- javascript-types
- type-validation
- View more
Simple type checker in JavaScript.
- utils
- util
- type checking
- type checker
- type
- checker
- isAlpha
- isAlphanumeric
- isArguments
- isArray
- isBoolean
- isDate
- isDecimal
- isDefined
- View more
The lodash method `_.isNaN` exported as a module.
Simple type checker in JavaScript.
- utils
- util
- type checking
- type checker
- type
- checker
- isAlpha
- isAlphanumeric
- isArguments
- isArray
- isBoolean
- isDate
- isDecimal
- isDefined
- View more
A very simple "typeof" detection
Validates if a value is NaN.
数据类型分类两类,基本类型和引用类型。
A utility function to fix and extend the built-in ''typeof'' operator of JavaScript.
MDN polyfills
ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.