文档导航

函数:noul()

函数: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