MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / keyinarray

Function keyinarray

third-party/lua-5.5.0/src/ltable.c:333–335  ·  view source on GitHub ↗

** Check whether a key is in the array part of a table and return its ** index there, or zero. */

Source from the content-addressed store, hash-verified

331** index there, or zero.
332*/
333static unsigned keyinarray (Table *t, const TValue *key) {
334 return (ttisinteger(key)) ? ikeyinarray(t, ivalue(key)) : 0;
335}
336
337
338/*

Callers 2

findindexFunction · 0.85
newcheckedkeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected