length
Return the length of the value - useful for lists.
def length(
value: any
) - > integer
Return the length of the value - useful for lists.
Parameters
| Name | Type | Description |
|---|---|---|
| value | any | The object whose length is to be measured, typically a list, string, or other collection |
Returns
| Type | Description |
|---|---|
integer | The number of items in the value, or 0 if the value does not support the len() function |