The built-in function length
returns the length of a collection or string.
The length of a string is the number of bytes in the string. It is not necessarilly the number of characters. The length of a collection is the number of elements in that collection. The length of undefined is undefined
.
Examples:
length("foo") // 3
length([1, 2, 3, 4]) // 4
length({ "key": "value" }) // 1
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4