@actualwave/is-function
v0.0.1
Published
Is value a function check
Downloads
8
Maintainers
Readme
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.