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

Function tableRemove

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

Source from the content-addressed store, hash-verified

40}
41
42func tableRemove(L *LState) int {
43 tbl := L.CheckTable(1)
44 if L.GetTop() == 1 {
45 L.Push(tbl.Remove(-1))
46 } else {
47 L.Push(tbl.Remove(L.CheckInt(2)))
48 }
49 return 1
50}
51
52func tableConcat(L *LState) int {
53 tbl := L.CheckTable(1)

Callers

nothing calls this directly

Calls 5

CheckTableMethod · 0.80
CheckIntMethod · 0.80
PushMethod · 0.65
GetTopMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…