MetaQuestion <Supported_Context_Type, Returned_Question_Type>
Hierarchy
- MetaQuestion
Index
Methods
of
Parameters
context: Answerable<Supported_Context_Type>
Returns Returned_Question_Type
toString
Human-readable description of this MetaQuestion, typically involving the description of the subject.
For example, a description of a meta question obout “the text of an element” would be
text of ${ element.toString() }
Returns string
A meta-question is a Question that can be answered in the context of another Answerable, typically to transform its value.
For example, the question Text.of can be answered in the context of a PageElement to return its text content.
Meta questions are typically used when filtering a List.
Learn more