ts
function noul(instructions?, criteria?): NoulQuestion;
创建一个“是/否”问题,可为两种结果分别提供可选描述。
参数
instructions?
EntryType = null
以文本、JSON 对象或数组形式表示的问题;默认为 null。
criteria?
| {
false?: EntryType;
true?: EntryType;
}
| null
对“是”和“否”两种结果的可选描述。
类型字面量
{
false?: EntryType;
true?: EntryType;
}
对“是”和“否”两种结果的可选描述。
false?
“否”结果的描述。
true?
“是”结果的描述。
null