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