Type-optionp
Recognizer for type-option structures.
- Signature
(type-optionp x) → *
Definitions and Theorems
Function: type-optionp
(defun type-optionp (x)
(declare (xargs :guard t))
(cond ((not x) (b* nil t))
(t (b* ((fty::val x)) (typep fty::val)))))