Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for zeroKey (0.04 seconds)

  1. doc/go_spec.html

    <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
    [<a href="#Go_1.21">Go 1.21</a>].
    </p>
    
    <pre class="grammar">
    Call        Argument type     Result
    
    clear(m)    map[K]T           deletes all entries, resulting in an
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top