359 packages found
Determine if the JS environment has Symbol support. Supports spec, or shams.
Determine if the JS environment has BigInt support.
Get the native type of a value.
Returns true if an object was created by the `Object` constructor, or Object.create(null).
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Type check values
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- View more
Returns true if the value is an object and not an array or null.
Improved typeof detection for node.js and the browser.
Determine the specification defined classification of an object.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- type
- typeof
- native
- class
- classification
- specification
- spec
- View more
Test if a value is object-like.
Determine the name of a value's constructor.
Determine a value's type.
Detect native Symbol.toStringTag support.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- detect
- feature
- symbol
- tostringtag
- class
- type
- typeof
- View more
Checks whether provided parameter looks like a number
Returns `true` if the value is a primitive.
gets the current type of the value passed in, and if the value is null, it returns 'null'
Determine and test types using constructor or {}.toString
Cross-browser type assertions (less broken typeof)