Casts the type to T if possible.
LuaException, if implicit type casting is impossible.
See Implementation
Casts the type to T if possible.