Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua prin type of variable

print(type("Hello world"))  --> string
    print(type(10.4*3))         --> number
    print(type(print))          --> function
    print(type(type))           --> function
    print(type(true))           --> boolean
    print(type(nil))            --> nil
    print(type(type(X)))        --> string
Source by www.lua.org #
 
PREVIOUS NEXT
Tagged: #lua #prin #type #variable
ADD COMMENT
Topic
Name
9+6 =