import {Pick} from '@serenity-js/protractor/lib/screenplay/questions'
public class | source

Pick

this class is experimental.

Tests:

Static Method Summary

Static Public Methods
public static

from(collection: Question | CT): *

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public
public
public

get(index: number): Question

public
public

where(question: RelativeQuestion, expectation: Expectation): Pick

Static Public Methods

public static from(collection: Question | CT): * source

Params:

NameTypeAttributeDescription
collection Question | CT

Returns:

*

Public Constructors

public constructor() source

Public Methods

public all(): Question source

Returns:

Question

public count(): Question source

Returns:

Question

public first(): Question source

Returns:

Question

public get(index: number): Question source

Params:

NameTypeAttributeDescription
index number

Returns:

Question

public last(): Question source

Returns:

Question

public where(question: RelativeQuestion, expectation: Expectation): Pick source

Params:

NameTypeAttributeDescription
question RelativeQuestion
expectation Expectation

Returns:

Pick