cap
Name | Type | Description | Optional |
---|---|---|---|
a |
?0 |
number |
no |
Name | Type | Description | Optional |
---|---|---|---|
b |
?0 |
capacity of a |
no |
cap
outputs the capacity of its input. For strings and symbols, capacity is the number of bytes, excluding the final terminating null character. For bitsets, it is the number of bits in the implicit universe of the set. For vectors, it is the length of the vector.