proposition

Declares a proposition question. The block runs once, on a fresh PropositionQuestionSpec.Builder that already carries the name, and must at least call asking(...). It does not run when the name is blank or already used.

Parameters

name

the question name, which must not be blank or used by an earlier question

block

sets the question's definition

Throws

if the name is blank or already used, or the definition is invalid