cl-check-type

cl-check-type is an autoloaded Lisp macro in `cl-macs.el'.

(cl-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.