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#Other type: string length in bytes.
array type: the length of the array.