Skip to content

Option ​

class in OpalScript

An explicit present or absent value. Guard HasValue before reading Value.

Properties ​

MemberDescription
Option.HasValueWhether a value is present. Guard this before reading Value.
Option.ValueThe present value. Requires a HasValue guard.

See also ​