Get the kind (tag) of a vl-valuerange structure.
(vl-valuerange-kind x) → kind
Function:
(defun vl-valuerange-kind$inline (x) (declare (xargs :guard (vl-valuerange-p x))) (let ((__function__ 'vl-valuerange-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((eq (car x) :valuerange-range) :valuerange-range) (t :valuerange-single)) :exec (car x))))
Theorem:
(defthm vl-valuerange-kind-possibilities (or (equal (vl-valuerange-kind x) :valuerange-range) (equal (vl-valuerange-kind x) :valuerange-single)) :rule-classes ((:forward-chaining :trigger-terms ((vl-valuerange-kind x)))))