MCPcopy Create free account
hub / github.com/WebReflection/neverland / isFunction

Function isFunction

test/neverland.js:313–315  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

311 return value !== this[i];
312 }
313 var isFunction = function isFunction(fn) {
314 return typeof fn === 'function';
315 };
316
317 var compat = typeof cancelAnimationFrame === 'function';
318 var cAF = compat ? cancelAnimationFrame : clearTimeout;

Callers 1

useStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected