Recognizer for vl-importresult structures.
(vl-importresult-p x) → *
Function:
(defun vl-importresult-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-importresult-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-importresult) (std::prod-consp (cdr x)) (b* ((item (std::prod-car (cdr x))) (pkg-name (std::prod-cdr (cdr x)))) (and (vl-maybe-scopeitem-p item) (stringp pkg-name))))))
Theorem:
(defthm consp-when-vl-importresult-p (implies (vl-importresult-p x) (consp x)) :rule-classes :compound-recognizer)