Go Built-In Functions Length and Capacity
Jump to navigation
Jump to search
External
- Specification https://golang.org/ref/spec#Length_and_capacity
Internal
len()
string type: string length in bytes.
array type: the length of the array.