MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / isFunction

Function isFunction

tests/test_code/js/moment/moment.js:342–347  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

340 hooks.deprecationHandler = null;
341
342 function isFunction(input) {
343 return (
344 (typeof Function !== 'undefined' && input instanceof Function) ||
345 Object.prototype.toString.call(input) === '[object Function]'
346 );
347 }
348
349 function set(config) {
350 var prop, i;

Callers 10

setFunction · 0.85
calendarFunction · 0.85
makeFormatFunctionFunction · 0.85
relativeTimeFunction · 0.85
pastFutureFunction · 0.85
stringGetFunction · 0.85
stringSetFunction · 0.85
addRegexTokenFunction · 0.85
calendar$1Function · 0.85
toISOStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected