est
🔬 Experimental
ES module friendly type checker, tiny utility functions with TypeScript definition. So you can import
only the required type-checking functions you need and the rest will be removed by tree-shaking. Size is the primary concern of this module.
Roadmap
- noop
- identity (returns the first argument)
- always (takes
T
and returns() => T
) - isString
- isNumber
- isBoolean
- isObject
- isFunction
- isSymbol
- isArray (alias only)
- isArrayLike
- isEmptyArray
- isNull
- isUndefined
- isDate
- isRegExp
- isError
- isNaN
- isSafari
- isChrome
- isEdge
- isPlainObject
- ensureArray