|
length
|
The length function returns the number of elements in a List.
The length function should be used when you need to determine the number of elements in a Structure, Dictionary, Directory, Matrix, Vector, Pair or List. This type of counting is called a shallow count in which embedded collection objects are counted as one. An alternate function, the count function, performs a deep count, which is used to determine the total number of items in an object, including the items in embedded collection objects.
(length list) Returns the number of values in the input List.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types list The List that needs to be counted List
Returns:
Examples
Argument Types
How do I contact the AIS team?