card
Name | Type | Description | Optional |
---|---|---|---|
a |
?0 |
number |
no |
Name | Type | Description | Optional |
---|---|---|---|
b |
?0 |
cardinality of a |
no |
card
outputs the number of elements in its input. For strings and symbols, cardinality is the number of Unicode characters (code points), excluding the final terminating null character. For sets, bitsets and idxsets,, it is the number of elements in the set. For vectors and lists, it is the length of the vector or list. For maps, it is the number of key / value pairs in the map.