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

Method ToTable

_state.go:1479–1484  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

1477}
1478
1479func (ls *LState) ToTable(n int) *LTable {
1480 if lv, ok := ls.Get(n).(*LTable); ok {
1481 return lv
1482 }
1483 return nil
1484}
1485
1486func (ls *LState) ToFunction(n int) *LFunction {
1487 if lv, ok := ls.Get(n).(*LFunction); ok {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.95

Tested by

no test coverage detected