MCPcopy Index your code
hub / github.com/Shopify/go-lua / IsThread

Method IsThread

lua.go:1516–1516  ·  view source on GitHub ↗

IsThread verifies that the value at index is a thread. http://www.lua.org/manual/5.2/manual.html#lua_isthread

(index int)

Source from the content-addressed store, hash-verified

1514//
1515// http://www.lua.org/manual/5.2/manual.html#lua_isthread
1516func (l *State) IsThread(index int) bool { return l.TypeOf(index) == TypeThread }
1517
1518// IsNone verifies that the value at index is not valid.
1519//

Callers 1

threadArgFunction · 0.80

Calls 1

TypeOfMethod · 0.95

Tested by

no test coverage detected