Check if, in a list of Unicode characters,
there is a Unicode escape at position
(uniescapep pos unicodes) → yes/no
This is true when
there is a valid Unicode escape at
Function:
(defun uniescapep (pos unicodes) (declare (xargs :guard (and (natp pos) (unicode-listp unicodes)))) (declare (xargs :guard (< pos (len unicodes)))) (and (uniescape-candidate-p pos unicodes) (uniescape-candidate-valid-p pos unicodes)))
Theorem:
(defthm booleanp-of-uniescapep (b* ((yes/no (uniescapep pos unicodes))) (booleanp yes/no)) :rule-classes :rewrite)