toThread abstract method

LuaState? toThread(
  1. int idx
)

Converts the value at the given index to a Lua thread (coroutine). Returns null if the value is not a thread.

Implementation

LuaState? toThread(int idx);