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)
| 2429 | // IsWildcardTupleType returns true if this is the wildcard AnyTuple type. The |
| 2430 | // wildcard type matches a tuple type having any number of fields (including 0). |
| 2431 | func IsWildcardTupleType(t *T) bool { |
| 2432 | return len(t.TupleContents()) == 1 && t.TupleContents()[0].Family() == AnyFamily |
| 2433 | } |
| 2434 | |
| 2435 | // collatedStringTypeSQL returns the string representation of a COLLATEDSTRING |
| 2436 | // or []COLLATEDSTRING type. This is tricky in the case of an array of collated |
no test coverage detected