Flags

class Flags

Provides a mechanism for setting and getting flags.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
operator fun get(name: String): Boolean

Get a condition with a specified name.

Link copied to clipboard
infix fun getValue(flag: String): Boolean

Get the value of flag.

Link copied to clipboard
operator fun set(name: String, value: Boolean)

Sets a condition with a specified name to a specified value.

Link copied to clipboard
infix fun setFalse(flag: String)

Set a flag false.

Link copied to clipboard
infix fun setTrue(flag: String)

Set a flag true.

Link copied to clipboard

Convert to a map.