IsMap returns true if the data type is a map.
(dt DataType)
| 249 | |
| 250 | // IsMap returns true if the data type is a map. |
| 251 | func IsMap(dt DataType) bool { return AsMap(dt) != nil } |
| 252 | |
| 253 | // IsUnion returns true if the data type is a map. |
| 254 | func IsUnion(dt DataType) bool { return AsUnion(dt) != nil } |