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

Method ToString

state.go:1688–1690  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

1686}
1687
1688func (ls *LState) ToString(n int) string {
1689 return LVAsString(ls.Get(n))
1690}
1691
1692func (ls *LState) ToTable(n int) *LTable {
1693 if lv, ok := ls.Get(n).(*LTable); ok {

Callers 3

CheckStringMethod · 0.95
baseDoFileFunction · 0.45
TestToStringFunction · 0.45

Calls 2

GetMethod · 0.95
LVAsStringFunction · 0.85

Tested by 1

TestToStringFunction · 0.36