(length list)
Determine how many items are in that list.
This function returns number of items in list. The number returned is an integer.
Example
Code | Returns |
---|---|
(setq b ' ( 1 2 3 4)) | (1 2 3 4) |
(length b) | 4 |
Determine how many items are in that list.
This function returns number of items in list. The number returned is an integer.
Example
Code | Returns |
---|---|
(setq b ' ( 1 2 3 4)) | (1 2 3 4) |
(length b) | 4 |