Search results
403 packages found
what.js is a simple library to get the type of variables. enganced typeof.
👺 weak but accurate type checking that returns a string representation of input's type
- type
- types
- coerce
- coercion
- checker
- check
- flow
- typing
- typeof
- typeov
- detection
- ispromise
- isnumber
- isinfinity
- View more
retrieve the type of your value by using constructors when possible
Can be used to distinguish between these types: boolean, number, string, function, array, date, regexp, object, error.
Simple, Lightweight type checking of multiple arguments
compare the type of your value with one or several types
- typeof
- types
- instanceof
- type-of
- test
- check
- typeof-in
- string
- constructor
- name
- number
- object
- array
- function
- View more
Get the type of something. Seriously.
Ask for a type, returns a true/false as answer.
A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.
a simple javascript type checker & assertion library
Accurately determine native type of values
Shared functions that test and determine the type of an object under scrutiny. These tools rely on the use of Object.prototype.toString.call/apply
Coalesce for JavaScript. Returns the first value that is not undefined or null.
👌 Simply get the type of an object.
Retrieve the real type of a variable, a more accurate version of the `typeof` operator. This module has been improved for performance and is getting better overtime.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
- array
- assert
- assertion
- async
- async function
- async-function
- asyncFunction
- bool
- boolean
- browser
- check
- check-type
- checking
- class
- View more