Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isUntypedNumeric (0.16 sec)

  1. src/go/types/predicates.go

    // Safe to call from types that are not fully set up.
    func isUntyped(t Type) bool {
    	return !isTyped(t)
    }
    
    // isUntypedNumeric reports whether t is an untyped numeric type.
    // Safe to call from types that are not fully set up.
    func isUntypedNumeric(t Type) bool {
    	// Alias and named types cannot denote untyped types
    	// so there's no need to call Unalias or under, below.
    	b, _ := t.(*Basic)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/predicates.go

    // isUntyped(t) is the same as !isTyped(t).
    // Safe to call from types that are not fully set up.
    func isUntyped(t Type) bool {
    	return !isTyped(t)
    }
    
    // isUntypedNumeric reports whether t is an untyped numeric type.
    // Safe to call from types that are not fully set up.
    func isUntypedNumeric(t Type) bool {
    	// Alias and named types cannot denote untyped types
    	// so there's no need to call Unalias or under, below.
    	b, _ := t.(*Basic)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top