Mojo ListLiteral __len__ Function

The Mojo ListLiteral __len__ function returns the “get the list length”.

Syntax

__len__(self: Self) -> Int

Return value

The length of this ListLiteral.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.