Docs

Function: noul()

Function: noul()

function noul(instructions?, criteria?): NoulQuestion;

Create a yes/no question with optional descriptions for either outcome.

Parameters

instructions?

EntryType = null

The question as text, a JSON object or array; defaults to null.

criteria?

| { false?: EntryType; true?: EntryType; } | null

Optional descriptions of the yes and no outcomes.

Type Literal

{ false?: EntryType; true?: EntryType; }

Optional descriptions of the yes and no outcomes.

false?

EntryType

Description of the no outcome.

true?

EntryType

Description of the yes outcome.


null

Returns

NoulQuestion