Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertj (2.29 sec)

  1. doc/go_spec.html

    </p>
    
    <pre>
    x.(T)
    </pre>
    
    <p>
    asserts that <code>x</code> is not <code>nil</code>
    and that the value stored in <code>x</code> is of type <code>T</code>.
    The notation <code>x.(T)</code> is called a <i>type assertion</i>.
    </p>
    <p>
    More precisely, if <code>T</code> is not an interface type, <code>x.(T)</code> asserts
    that the dynamic type of <code>x</code> is <a href="#Type_identity">identical</a>
    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)
Back to top