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

Function fxFindResult

modules/piu/All/piuApplication.c:836–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836xsBooleanValue fxFindResult(xsMachine* the, xsSlot* slot, xsIdentifier id)
837{
838 xsBooleanValue result;
839 xsOverflow(-1);
840 fxPush(*slot);
841 if (fxHasID(the, id)) {
842 fxPush(*slot);
843 fxGetID(the, id);
844 xsResult = *the->stack;
845 the->stack++;
846 result = 1;
847 }
848 else
849 result = 0;
850 return result;
851}
852
853xsSlot* fxDuplicateString(xsMachine* the, xsSlot* slot)
854{

Callers

nothing calls this directly

Calls 2

fxHasIDFunction · 0.85
fxGetIDFunction · 0.85

Tested by

no test coverage detected