master-key.setFlag
Sets a boolean flag named name
that can be accessed in when clauses using master-key.[name]
and in expressions using [name]
.
Arguments:
name
: String denoting the name of this flag, must end with the suffix_on
.value
: true or falsetransient
: (default =false
) whether the variable will reset to false when a key sequence is complete. Seemaster-key.prefix
for more details.