Value.type readonly
The Value.type property gets the type of the C Value as a string
.
- This property returns the same result as the C.type() function.
Example
local c = require "c"
-- create a C boolean Value set to true
local bool = c.bool(true)
-- prints the Value type
print("C Value type is "..bool.type)