Skip to main content

Function: noul()

Documentation Index

Fetch the complete documentation index at: https://docs.typesafe.ai/llms.txt Use this file to discover all available pages before exploring further.

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