deftype

deftype is an alias for `cl-deftype' in `cl.el'.

(deftype NAME ARGLIST &rest BODY)

Define NAME as a new data type.
The type name can then be used in `cl-typecase', `cl-check-type', etc.