fup-is-function
v1.0.1
Published
function
Downloads
2
Readme
IsFunction
install
npm i --save fup-is-function
Use
const isFunction = require('fup-is-function');
or es module
import isFunction from 'fup-is-function';
Example
isFunction(() => null) // true;
isFunction(null) // false;
isFunction(Number) // true;