@actualwave/is-function

0.0.1 • Public • Published

isFunction

The isFunction() is a simple wrapper over

typeof value === 'function'

Previously I was using instanceof but it seems using typeof should faster. And since I do not like putting string literal here and there, I've decided to wrap it into a function.

Package Sidebar

Install

npm i @actualwave/is-function

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

1.1 kB

Total Files

3

Last publish

Collaborators

  • actualwave