Switchable.enabled

Get the state of object.

Get the state of object. Whether is enabled or not.

  1. inout(bool) enabled [@property getter]
    interface Switchable
    @property @safe nothrow inout
    inout(bool)
    enabled
    ()
  2. bool enabled [@property setter]

Return Value

Type: inout(bool)

bool true if enabled or false if not.

Meta