GoSlicecap

Returns the capacity of a slice.

Syntax

cap(s []T) int