A little library for asserting types and values.
Get the native type of a value.
Check if a value is a plain object
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Runs typescript type checker and linter on separate process.
Check if something is a Node.js stream
Type check values
Check if a string or buffer is SVG
Returns true if an object was created by the `Object` constructor.
Returns true if the value is an object and not an array or null.
unist utility to check if a node passes a test
Check if a path is a file, directory, or symlink
Check if a value is an object
Infer the content-type of a request.
Check if something is a promise
Function argument validation for humans
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Check if a value is a regular expression
A type checking library where each exported function returns either true or false and does not throw. Also added tests.
Check if something is a generator function