check-type

check-type is an alias for `cl-check-type' in `cl.el'.

(check-type FORM TYPE &optional STRING)

Verify that FORM is of type TYPE; signal an error if not.
STRING is an optional description of the desired type.