Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OK (0.15 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre>
    v, ok = x.(T)
    v, ok := x.(T)
    var v, ok = x.(T)
    var v, ok interface{} = x.(T) // dynamic types of v and ok are T and bool
    </pre>
    
    <p>
    yields an additional untyped boolean value. The value of <code>ok</code> is <code>true</code>
    if the assertion holds. Otherwise it is <code>false</code> and the value of <code>v</code> is
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    </p>
    
    <pre>
    v, ok = x.(T)
    v, ok := x.(T)
    var v, ok = x.(T)
    var v, ok interface{} = x.(T) // dynamic types of v and ok are T and bool
    </pre>
    
    <p>
    yields an additional untyped boolean value. The value of <code>ok</code> is <code>true</code>
    if the assertion holds. Otherwise it is <code>false</code> and the value of <code>v</code> is
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top