IsWildcardTupleType returns true if this is the wildcard AnyTuple type. The wildcard type matches a tuple type having any number of fields (including 0).
(t *T)
| 3001 | // IsWildcardTupleType returns true if this is the wildcard AnyTuple type. The |
| 3002 | // wildcard type matches a tuple type having any number of fields (including 0). |
| 3003 | func IsWildcardTupleType(t *T) bool { |
| 3004 | return len(t.TupleContents()) == 1 && t.TupleContents()[0].Family() == AnyFamily |
| 3005 | } |
| 3006 | |
| 3007 | // collatedStringTypeSQL returns the string representation of a COLLATEDSTRING |
| 3008 | // or []COLLATEDSTRING type. This is tricky in the case of an array of collated |
no test coverage detected
searching dependent graphs…