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?