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)
| 2017 | // IsWildcardTupleType returns true if this is the wildcard AnyTuple type. The |
| 2018 | // wildcard type matches a tuple type having any number of fields (including 0). |
| 2019 | func IsWildcardTupleType(t *T) bool { |
| 2020 | return len(t.TupleContents()) == 1 && t.TupleContents()[0].Family() == AnyFamily |
| 2021 | } |
| 2022 | |
| 2023 | // collatedStringTypeSQL returns the string representation of a COLLATEDSTRING |
| 2024 | // or []COLLATEDSTRING type. This is tricky in the case of an array of collated |
no test coverage detected
searching dependent graphs…