traveler.core.omx.max_len#
- traveler.core.omx.max_len(arg, at_least=0)[source]#
Return the greatest item length, bounded by a minimum value.
- Parameters:
arg (collections.abc.Collection of collections.abc.Sized) – Objects whose lengths should be compared.
at_least (int, optional) – Minimum value to return.
- Returns:
Maximum observed length or
at_least, whichever is greater.- Return type:
int