Length: Difference between revisions

From The K Language Wiki
Content added Content deleted
m (Lowercase title)
("Remove lowercase again - it is in the template now")
Line 1: Line 1:
{{lowercase title}}
{{primitive|#x}}
{{primitive|#x}}



Revision as of 01:30, 9 July 2022

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.