Optional.get

Gets the value of the optional but leaving it as it.

struct Optional(T)
T
get
()

Return Value

Type: T

the value the optional holds

Throws

OptionalIsNoneException if the optional is a None instead of a Some

Meta