SwitchableContainer.enabled

Get the state of decorated (enabled/disabled).

Get the state of decorated (enabled/disabled).

  1. SwitchableContainer!T enabled(bool enabled)
  2. inout(bool) enabled()
    class SwitchableContainer
    @safe nothrow inout
    inout(bool)
    enabled
    ()

Return Value

Type: inout(bool)

bool true if enabled or false if not.

Meta