Optional.asNullable

Converts this optional to a Phobos-style Nullable.

struct Optional(T)
Nullable!T
asNullable
()

Return Value

Type: Nullable!T

A Nullable!T representing this optional.