介面:NoulQuestion
一道是非問題,真、假兩種結果都可以帶可選描述。
屬性
criteria?
optional criteria?:
| {
false?: EntryType;
true?: EntryType;
}
| null;
「是」和「否」兩種結果的可選描述。
聯合成員
型別字面量
{
false?: EntryType;
true?: EntryType;
}
false?
optional false?: EntryType;
「否」結果的描述。
true?
optional true?: EntryType;
「是」結果的描述。
null
instructions?
optional instructions?: EntryType;
問題本身,可以是文本、JSON 物件或陣列;可選,也可以為 null。
type
type: "noul";