Option.get

Get the value from this object.

Contracts ensure this value isn't null.

  1. Some!T get [@property getter]
  2. const(Some!T) get [@property getter]
  3. immutable(Some!T) get [@property getter]
    struct Option(T)
    @nogc @trusted pure nothrow @property
    immutable(Some!T)
    get
    immutable
    (
    )
    in { assert (_value !is null, "get called for a null Option type!"); }
    if (
    is(T == class) ||
    isPointer!T
    )

Return Value

Type: immutable(Some!T)

Some value from this object.

Meta