IsNumeric determines whether a data type is numeric
(dataType DataType)
| 180 | |
| 181 | // IsNumeric determines whether a data type is numeric |
| 182 | func IsNumeric(dataType DataType) bool { |
| 183 | return (dataType >= Int8 && dataType <= Float32) || dataType == Int64 |
| 184 | } |
| 185 | |
| 186 | // IsArrayType determins where a data type is Array |
| 187 | func IsArrayType(dataType DataType) bool { |