IsObject returns true if the data type is an object.
(dt DataType)
| 243 | |
| 244 | // IsObject returns true if the data type is an object. |
| 245 | func IsObject(dt DataType) bool { return AsObject(dt) != nil } |
| 246 | |
| 247 | // IsArray returns true if the data type is an array. |
| 248 | func IsArray(dt DataType) bool { return AsArray(dt) != nil } |