Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Type_assertions (0.07 sec)

  1. doc/go1.17_spec.html

    other.
    If the indices are out of range at run time, a <a href="#Run_time_panics">run-time panic</a> occurs.
    </p>
    
    <h3 id="Type_assertions">Type assertions</h3>
    
    <p>
    For an expression <code>x</code> of <a href="#Interface_types">interface type</a>
    and a type <code>T</code>, the primary expression
    </p>
    
    <pre>
    x.(T)
    </pre>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top