Skip to content

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 false
  • transient: (default = false) whether the variable will reset to false when a key sequence is complete. See master-key.prefix for more details.