import {MetaQuestion} from '@serenity-js/core/lib/screenplay/questions'
public interface | source

MetaQuestion

A Question about another Answerable, used to retrieve a transformed version of the value it holds, or to compose Questions.

For example, the question Text.of returns text content of an ElementFinder returned by Target, which is a Question<ElementFinder>.

MetaQuestions are typically used when filtering a List.

See also:

Member Summary

Public Members
public

of: function<T>(another: Answerable): Question<Answer>

Transforms a given answerable to another Question.

public

toString: function(): string

Human-readable description of a given MetaQuestion,

Public Members

public of: function<T>(another: Answerable): Question<Answer> source

Transforms a given answerable to another Question.

See:

public toString: function(): string source

Human-readable description of a given MetaQuestion,