toRaw
ToRaw is a function in the programming language Lua that is used to convert a userdata value to its raw form. Userdata in Lua is a type that allows the embedding of C data within Lua. When userdata is created, it is often associated with a metatable that defines its behavior. The toRaw function is particularly useful in scenarios where the metatable has overridden the default behavior of userdata, and the raw form of the userdata is needed.
The syntax for using toRaw is straightforward:
```
Here, `userdata` is the userdata value you want to convert, and `raw` will be the raw form
The primary use case for toRaw is when you need to perform operations that are not affected
It's important to note that toRaw does not modify the original userdata; it simply returns a new
ToRaw is part of the LuaJIT library, which is a high-performance Just-In-Time (JIT) compiler for the Lua