IsUnion returns true if the data type is a map.
(dt DataType)
| 252 | |
| 253 | // IsUnion returns true if the data type is a map. |
| 254 | func IsUnion(dt DataType) bool { return AsUnion(dt) != nil } |
| 255 | |
| 256 | // IsPrimitive returns true if the data type is a primitive type. |
| 257 | func IsPrimitive(dt DataType) bool { |
no test coverage detected