- type-ofprocedure
- in - ITEM - a scheme object
- returns: a symbol describing the type of the item, or 'unknown if the item's type can't be determined. type-of can identify most scheme objects. Number-vectors above u8 are identified as "number-vector".
(import nutils chicken.number-vector) (type-of 'cat) ; => 'symbol (type-of 22.22) ; => 'float (type-of 22) ; => 'exact-int (type-of #u8(0 0 0 0) ;; => 'bytevector (type-of #u32(0 0 0 0)) ;; => 'number-vector