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

Function _xsGetAt

xs/sources/xsmc.c:96–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96txBoolean _xsGetAt(txMachine *the, txSlot *res, txSlot *self, txSlot *at)
97{
98 txBoolean result;
99 mxOverflow(-2);
100 fxPush(*self);
101 fxPush(*at);
102 result = fxGetAt(the);
103 *res = fxPop();
104 return result;
105}
106
107txBoolean _xsGetIndex(txMachine *the, txSlot *res, txSlot *self, txIndex index)
108{

Callers

nothing calls this directly

Calls 1

fxGetAtFunction · 0.85

Tested by

no test coverage detected