The Mojo ListLiteral __len__ function returns the “get the list length”.
Syntax
__len__(self: Self) -> Int
Return value
The length of this ListLiteral.

Pranav Shah is a Cloud Engineer and completed his masters degree from MIT University.
The Mojo ListLiteral __len__ function returns the “get the list length”.
__len__(self: Self) -> Int
The length of this ListLiteral.
Pranav Shah is a Cloud Engineer and completed his masters degree from MIT University.