is-callable
Version:
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
10 lines (9 loc) • 139 B
Plain Text
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.