- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for clear_ (0.21 sec)
-
doc/go_spec.html
n2 := copy(s, s[2:]) // n2 == 4, s is []int{2, 3, 4, 5, 4, 5} n3 := copy(b, "Hello, World!") // n3 == 5, b is []byte("Hello") </pre> <h3 id="Clear">Clear</h3> <p> The built-in function <code>clear</code> takes an argument of <a href="#Map_types">map</a>, <a href="#Slice_types">slice</a>, or <a href="#Type_parameter_declarations">type parameter</a> type, and deletes or zeroes out all elements
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0)