isFunction

Function type check:

sb.isFunction(() => {});
-> true
sb.isFunction(console.log);
-> true
sb.isFunction({});
-> false

results matching ""

    No results matching ""