xref--search-property

xref--search-property is a compiled Lisp function in `xref.el'.

(xref--search-property PROPERTY &optional BACKWARD)

Search the next text range where text property PROPERTY is non-nil.
Return the value of PROPERTY. If BACKWARD is non-nil, search
backward.