Skip to main content
Log in

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): Another NoneType instance to copy.

Was this page helpful?