Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for haveIdenticalType (0.18 sec)

  1. src/internal/reflectlite/type.go

    	// Composite types.
    	switch kind {
    	case abi.Array:
    		return T.Len() == V.Len() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
    
    	case abi.Chan:
    		// Special case:
    		// x is a bidirectional channel value, T is a channel type,
    		// and x's type V and T have identical element types.
    		if V.ChanDir() == abi.BothDir && haveIdenticalType(T.Elem(), V.Elem(), cmpTags) {
    			return true
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top