Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Creator (0.15 sec)

  1. doc/go1.17_spec.html

    <p>
    Comparison operators compare two operands and yield an untyped boolean value.
    </p>
    
    <pre class="grammar">
    ==    equal
    !=    not equal
    &lt;     less
    &lt;=    less or equal
    &gt;     greater
    &gt;=    greater or equal
    </pre>
    
    <p>
    In any comparison, the first operand
    must be <a href="#Assignability">assignable</a>
    to the type of the second operand, or vice versa.
    </p>
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    	var a, b []byte
    	if bytes.Compare(a, b) < 0 {
    		// a less b
    	}
    	if bytes.Compare(a, b) <= 0 {
    		// a less or equal b
    	}
    	if bytes.Compare(a, b) > 0 {
    		// a greater b
    	}
    	if bytes.Compare(a, b) >= 0 {
    		// a greater or equal b
    	}
    
    	// Prefer Equal to Compare for equality comparisons.
    	if bytes.Equal(a, b) {
    		// a equal b
    	}
    	if !bytes.Equal(a, b) {
    		// a not equal b
    	}
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. doc/go_spec.html

    <p>
    Comparison operators compare two operands and yield an untyped boolean value.
    </p>
    
    <pre class="grammar">
    ==    equal
    !=    not equal
    &lt;     less
    &lt;=    less or equal
    &gt;     greater
    &gt;=    greater or equal
    </pre>
    
    <p>
    In any comparison, the first operand
    must be <a href="#Assignability">assignable</a>
    to the type of the second operand, or vice versa.
    </p>
    <p>
    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