Option¶
- class guppylang.std.option.Option[source]¶
Represents an optional value.
- __type_params__ = (L,)¶
- swap(other: Option[L]) Option[L][source]¶
Swaps the value of self with other and returns the original value.
Represents an optional value.
Swaps the value of self with other and returns the original value.