RawGetString returns an LValue associated with a given key without __index metamethod.
(key string)
| 313 | |
| 314 | // RawGetString returns an LValue associated with a given key without __index metamethod. |
| 315 | func (tb *LTable) RawGetString(key string) LValue { |
| 316 | if tb.strdict == nil { |
| 317 | return LNil |
| 318 | } |
| 319 | if v, vok := tb.strdict[string(key)]; vok { |
| 320 | return v |
| 321 | } |
| 322 | return LNil |
| 323 | } |
| 324 | |
| 325 | // ForEach iterates over this table of elements, yielding each in turn to a given function. |
| 326 | func (tb *LTable) ForEach(cb func(LValue, LValue)) { |
no outgoing calls
no test coverage detected