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

Function fx_parseURLIsPartEmpty

modules/data/url/url.c:1296–1304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1294}
1295
1296txBoolean fx_parseURLIsPartEmpty(txMachine* the, txSlot* parts, txID id)
1297{
1298 txBoolean result;
1299 mxPushSlot(parts);
1300 mxGetID(id);
1301 result = the->stack->value.string[0] == 0;
1302 mxPop();
1303 return result;
1304}
1305
1306txBoolean fx_parseURLIsWindowsDriveLetter(txMachine* the, txString string, txBoolean startsWith)
1307{

Callers 1

fx_parseURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected