est
TypeScript icon, indicating that this package has built-in type declarations

0.2.1-alpha • Public • Published

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

License

BSD-3 Clause.

Readme

Keywords

Package Sidebar

Install

npm i est

Weekly Downloads

505

Version

0.2.1-alpha

License

BSD-3-Clause

Unpacked Size

5.13 kB

Total Files

7

Last publish

Collaborators

  • proteria