Option.get

Get the value from this object.

Contracts ensure this value isn't null.

  1. Some!T get [@property getter]
    struct Option(T)
    @safe pure nothrow @property
    get
    ()
    if (
    is(T == class) ||
    isPointer!T
    )
  2. const(Some!T) get [@property getter]
  3. immutable(Some!T) get [@property getter]

Return Value

Type: Some!T

Some value from this object.

Meta