IsArray returns true if the data type is an array.
(dt DataType)
| 246 | |
| 247 | // IsArray returns true if the data type is an array. |
| 248 | func IsArray(dt DataType) bool { return AsArray(dt) != nil } |
| 249 | |
| 250 | // IsMap returns true if the data type is a map. |
| 251 | func IsMap(dt DataType) bool { return AsMap(dt) != nil } |