with Text
List containing declarations with text.
Return
A list containing declarations with the specified texts (or any text if texts is empty).
Parameters
texts
The text(s) to include.
List containing declarations that have a text matching the provided predicate.
Return
A list containing declarations with the text matching the provided predicate.
Parameters
predicate
A function that defines the condition to be met by a declaration text.