Search results
5296 packages found
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
- array
- TypedArray
- typed array
- is
- typed
- Int8Array
- Uint8Array
- Uint8ClampedArray
- Int16Array
- Uint16Array
- Int32Array
- Uint32Array
- Float32Array
- Float64Array
- View more
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Check if something is a Node.js stream
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Detect whether or not an object is a Typed Array
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 an object was created by the `Object` constructor, or Object.create(null).
unist utility to check if a node passes a test
Determines if an object can be used as an array
Get the native type of a value.
Check if a value is a plain object
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Standard assertion utilities.
- stdlib
- stdassert
- assertion
- assert
- expectation
- expect
- utilities
- utility
- utils
- util
- test
- check
- validate
- validation
- View more
Returns true if the value is an object and not an array or null.
Check if a path is a file, directory, or symlink
Check if something is a generator function