MCPcopy Index your code
hub / github.com/yuin/gopher-lua / tableGetN

Function tableGetN

tablelib.go:32–35  ·  view source on GitHub ↗
(L *LState)

Source from the content-addressed store, hash-verified

30}
31
32func tableGetN(L *LState) int {
33 L.Push(LNumber(L.CheckTable(1).Len()))
34 return 1
35}
36
37func tableMaxN(L *LState) int {
38 L.Push(LNumber(L.CheckTable(1).MaxN()))

Callers

nothing calls this directly

Calls 4

LNumberTypeAlias · 0.85
CheckTableMethod · 0.80
PushMethod · 0.65
LenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…