Function: semanticdb-find-results-p
semanticdb-find-results-p is a byte-compiled function defined in
db-find.el.gz.
Signature
(semanticdb-find-results-p RESULTP)
Documentation
Non-nil if RESULTP is in the form of a semanticdb search result.
This query only really tests the first entry in the list that is RESULTP, but should be good enough for debugging assertions.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-find.el.gz
(defun semanticdb-find-results-p (resultp)
"Non-nil if RESULTP is in the form of a semanticdb search result.
This query only really tests the first entry in the list that is RESULTP,
but should be good enough for debugging assertions."
(and (listp resultp)
(listp (car resultp))
(cl-typep (car (car resultp)) 'semanticdb-abstract-table)
(or (semantic-tag-p (car (cdr (car resultp))))
(null (car (cdr (car resultp)))))))