cfunction
src/core/corelib.c on line 568 , column 1
(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
:fiber
or another keyword for an abstract type.
(type (fiber/new (fn [])))
# =>
:fiber
(type print )
# =>
:cfunction
(map type [nil true 42 [] @[] {} @{} "a" @"b" 'c :d identity (fn [])])
# => @[:nil :boolean :number :tuple :array :struct :table :string :buffer :symbol :keyword :function :function]