Function: check-type

check-type is a function alias for cl-check-type, defined in cl-macs.el.gz.

This macro is obsolete since 27.1; use cl-check-type instead.

Signature

(check-type FORM TYPE &optional STRING)

Documentation

Verify that FORM is of type TYPE; signal an error if not.

STRING is an optional description of the desired type.

Hint: To check the type of an object, use cl-type-of. To define new types, see cl-deftype.

Aliases

check-type (obsolete since 27.1)