Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/yuin/gopher-lua
/ ToThread
Method
ToThread
_state.go:1500–1505 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
1498
}
1499
1500
func
(ls *LState) ToThread(n int) *LState {
1501
if
lv, ok := ls.Get(n).(*LState); ok {
1502
return
lv
1503
}
1504
return
nil
1505
}
1506
1507
/* }}} */
1508
Callers
nothing calls this directly
Calls
1
Get
Method · 0.95
Tested by
no test coverage detected