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

Function fx_Object_is

xs/sources/xsObject.c:929–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927}
928
929void fx_Object_is(txMachine* the)
930{
931 if (mxArgc > 0)
932 mxPushSlot(mxArgv(0));
933 else
934 mxPushUndefined();
935 if (mxArgc > 1)
936 mxPushSlot(mxArgv(1));
937 else
938 mxPushUndefined();
939 mxResult->value.boolean = fxIsSameValue(the, the->stack + 1, the->stack, 0);
940 mxResult->kind = XS_BOOLEAN_KIND;
941 the->stack += 2;
942}
943
944void fx_Object_isExtensible(txMachine* the)
945{

Callers

nothing calls this directly

Calls 1

fxIsSameValueFunction · 0.85

Tested by

no test coverage detected