0.2.1-alpha ā€¢ Published 5 years ago

est v0.2.1-alpha

Weekly downloads
32
License
BSD-3-Clause
Repository
-
Last release
5 years ago

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.