@b08/type-checks
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

@b08/type-checks, seeded from @b08/library-seed, library type: dry

Util methods isString, isObject and etc. are deprecated and it is recommended to use simpler checks. For example:

/** @deprecated since v4.0.0 - use `typeof value === 'function'` instead. */
function isFunction(object: any): boolean;

This library encapsulates those checks, implementing recommended behavior.

Readme

Keywords

none

Package Sidebar

Install

npm i @b08/type-checks

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

11.6 kB

Total Files

62

Last publish

Collaborators

  • b08