LuaVar.opCast

Casts the type to T if possible.

struct LuaVar
const @safe pure
T
opCast
(
T
)
()

Throws

LuaException, if implicit type casting is impossible.

Meta