is-callable
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
Example
Install
Install with
Tests
Simply clone the repo, npm install
, and run npm test
Last updated
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
Install with
Simply clone the repo, npm install
, and run npm test
Last updated