Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. doc/go_spec.html

    </p>
    
    <pre>
    v := x  // x is evaluated exactly once
    if v == nil {
    	i := v                                 // type of i is type of x (interface{})
    	printString("x is nil")
    } else if i, isInt := v.(int); isInt {
    	printInt(i)                            // type of i is int
    } else if i, isFloat64 := v.(float64); isFloat64 {
    	printFloat64(i)                        // type of i is float64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top