cfunction
(type x)
Returns the type of x as a keyword. x is one of :nil :boolean
:number :array :tuple :table :struct :string :buffer :symbol
:keyword :function :cfunction
or another keyword for an abstract type.
(map type [nil true 42 [] @[] {} @{} "a" @"b" 'c :d identity (fn [])])
# => @[:nil :boolean :number :tuple :array :struct :table :string :buffer :symbol :keyword :function :function]