Mojo struct
NoneType
Represents the absence of a value.
Implemented traitsβ
AnyType
,
CollectionElement
,
Copyable
,
Movable
Methodsβ
__init__
β
__init__(inout self: Self)
Construct an instance of the None
type.
__init__(inout self: Self, *, other: Self)
Explicit copy constructor.
Args:
- βother (
Self
): AnotherNoneType
instance to copy.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?