Constructs an optional type with a defined given value
Constructs an optional type with a non defined value
Distructs the optional object
Assign this optional to a none
Assign this optional to a value
Assign this optional to another optional
Binary operator with auto return types
Binary operator with auto return types
Call operator with auto return types
Dollar operator representing the length of the array
Compares this optional with an empty None value
Compares this optional with another optional for equality
Compares this optional with a nullable for equality
Compares this optional with a value for equality
Compare this optional with an input range for equality
Index operator with auto return types
Index operator with auto return types
Op Assign operator with auto return types
Slice operator with auto return types
Unary operator with auto return type
Mark this optional as undefined
Calculates the hash value of the value inside this optional
Convert the optional to a human readable string.
Check if the optional type is defined
Check if the optional type is empty
Attemp to get the defined value
Gets the optional value or fallback if no value defined
Optional!int foo; // undefined foo = 7; // now its defined to 7 // can also be undefined again foo.popFront();
Defines an optional type
Optional values are values that can be or not defined.