Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isBool (0.19 sec)

  1. doc/go_spec.html

    } else if i, isFunc := v.(func(int) float64); isFunc {
    	printFunction(i)                       // type of i is func(int) float64
    } else {
    	_, isBool := v.(bool)
    	_, isString := v.(string)
    	if isBool || isString {
    		i := v                         // type of i is type of x (interface{})
    		printString("type is bool or string")
    	} else {
    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