文件導航

函式:noul()

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

建立一個是非問句,可為兩種結果分別提供可選的描述。

參數

instructions?

EntryType = null

問題,可以是文本、JSON 物件或陣列;預設為 null。

criteria?

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

對「是」和「否」兩種結果的可選描述。

型別字面量

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

對「是」和「否」兩種結果的可選描述。

false?

EntryType

對「否」結果的描述。

true?

EntryType

對「是」結果的描述。


null

返回

NoulQuestion