MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / assertFunction

Function assertFunction

lib/web/polyfill.js:349–352  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

347 return it;
348}
349function assertFunction(it){
350 assert(isFunction(it), it, ' is not a function!');
351 return it;
352}
353function assertObject(it){
354 assert(isObject(it), it, ' is not an object!');
355 return it;

Callers 3

partFunction · 0.85
ctxFunction · 0.85
polyfill.jsFile · 0.85

Calls 2

assertFunction · 0.85
isFunctionFunction · 0.70

Tested by

no test coverage detected