Recognizer for api+senv-result structures.
(api+senv-resultp acl2::x) → *
Function:
(defun api+senv-resultp (acl2::x) (declare (xargs :guard t)) (let ((__function__ 'api+senv-resultp)) (declare (ignorable __function__)) (cond ((api+senv-p acl2::x) (b* ((get acl2::x)) (api+senv-p get))) (t (b* ((get acl2::x)) (reserrp get))))))
Theorem:
(defthm consp-when-api+senv-resultp (implies (api+senv-resultp acl2::x) (consp acl2::x)) :rule-classes :compound-recognizer)