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]
    struct Option(T)
    @trusted pure nothrow @property const
    const(Some!T)
    get
    ()
    if (
    is(T == class) ||
    isPointer!T
    )
  3. immutable(Some!T) get [@property getter]

Return Value

Type: const(Some!T)

Some value from this object.

Meta