MCPcopy Create free account
hub / github.com/yuin/gopher-lua / GetTable

Method GetTable

_state.go:1698–1700  ·  view source on GitHub ↗
(obj LValue, key LValue)

Source from the content-addressed store, hash-verified

1696}
1697
1698func (ls *LState) GetTable(obj LValue, key LValue) LValue {
1699 return ls.getField(obj, key)
1700}
1701
1702func (ls *LState) RawSet(tb *LTable, key LValue, value LValue) {
1703 if n, ok := key.(LNumber); ok && math.IsNaN(float64(n)) {

Callers

nothing calls this directly

Calls 1

getFieldMethod · 0.95

Tested by

no test coverage detected