Length: Difference between revisions
Content added Content deleted
(revert likely accidental edit) Tag: Manual revert |
No edit summary |
||
Line 1: | Line 1: | ||
{{primitive}} |
{{primitive|#x}} |
||
The '''length''', a.k.a. '''count''', of a list is the number of its items. The length of a table is the number of its rows. The length of a dictionary is the length of its key list or, equivalently, of its value list. By convention, atoms have length 1. |
The '''length''', a.k.a. '''count''', of a list is the number of its items. The length of a table is the number of its rows. The length of a dictionary is the length of its key list or, equivalently, of its value list. By convention, atoms have length 1. |
Revision as of 19:05, 8 July 2021
Length
#x
The length, a.k.a. count, of a list is the number of its items. The length of a table is the number of its rows. The length of a dictionary is the length of its key list or, equivalently, of its value list. By convention, atoms have length 1.