; Improve docstring of cl-check-type
* lisp/emacs-lisp/cl-macs.el (cl-check-type): Improve docstring.
This commit is contained in:
parent
0460177451
commit
38cc36a375
1 changed files with 4 additions and 1 deletions
|
@ -3548,7 +3548,10 @@ Of course, we really can't know that for sure, so it's just a heuristic."
|
|||
;;;###autoload
|
||||
(defmacro 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."
|
||||
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'."
|
||||
(declare (debug (place cl-type-spec &optional stringp)))
|
||||
(and (or (not (macroexp-compiling-p))
|
||||
(< cl--optimize-speed 3) (= cl--optimize-safety 3))
|
||||
|
|
Loading…
Add table
Reference in a new issue