MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxCheckCallable

Function fxCheckCallable

xs/sources/xsFunction.c:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void fxCheckCallable(txMachine* the, txSlot* slot)
86{
87 if (fxIsCallable(the, slot))
88 return;
89 mxTypeError("this: not a Function instance");
90}
91
92txSlot* fxCheckFunctionInstance(txMachine* the, txSlot* slot)
93{

Callers 4

Calls 1

fxIsCallableFunction · 0.85

Tested by

no test coverage detected