Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for allows (0.03 seconds)

  1. doc/go_spec.html

    However, as a special case, a slice, map, or function value may
    be compared to the predeclared identifier <code>nil</code>.
    Comparison of pointer, channel, and interface values to <code>nil</code>
    is also allowed and follows from the general rules above.
    </p>
    
    <pre>
    const c = 3 &lt; 4            // c is the untyped boolean constant true
    
    type MyBool bool
    var x, y int
    var (
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top