Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasOk (0.09 sec)

  1. src/cmd/compile/internal/types2/api.go

    func (tv TypeAndValue) Assignable() bool {
    	return tv.mode == variable || tv.mode == mapindex
    }
    
    // HasOk reports whether the corresponding expression may be
    // used on the rhs of a comma-ok assignment.
    func (tv TypeAndValue) HasOk() bool {
    	return tv.mode == commaok || tv.mode == mapindex
    }
    
    // Instance reports the type arguments and instantiated type for type and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top