Rename `null` -> `nil`.
Replace `try` -> `pcall`, `throw` -> `error`
Check for type function in Lua correctly.
This is easier that fixing the object map is called on.
Remove deprecated syntax.
array containment can be done with a switch.
Existence checks are just checks for `nil`.
Convert to Lua varargs format.