Skip to main content

MetaQuestion <Supported_Context_Type, Returned_Question_Type>

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

Hierarchy

Index

Methods

Methods

of

  • of(context: Answerable<Supported_Context_Type>): Returned_Question_Type
  • Answers the given MetaQuestion in the context of another Answerable.

    Learn more


    Parameters

    Returns Returned_Question_Type

toString

  • toString(): string
  • 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