Function: noul()
ts
function noul(instructions?, criteria?): NoulQuestion;Create a yes/no question; its answer is the probability of yes.
参数
instructions?
EntryType = null
要问的问题。 / The question.
criteria?
NoulCriteria | null
“是 / 否”的可选描述。 / Optional descriptions of both outcomes.
返回
示例
ts
noul('用户是否要求退款?')
noul('评论是否含人身攻击?', { true: '辱骂、贬低他人', false: '正常批评' })
