Value
Represents a field that was assigned a non-null value in the serialized entity. Equality and hashcode is implemented through its value.
Parameters
value
the value this optional wraps.
Properties
Link copied to clipboard
Link copied to clipboard
returns null
if this is null
, calls OptionalLong.asNullable otherwise.
Link copied to clipboard
Link copied to clipboard
returns null
if this is null
, calls OptionalLong.asNullable otherwise.
Functions
Link copied to clipboard
Destructures this optional to its value.
Link copied to clipboard
returns default if this is null
, calls OptionalLong.asNullable otherwise.