MCPcopy
hub / github.com/uber/aresdb / IsNumeric

Function IsNumeric

memstore/common/data_type.go:182–184  ·  view source on GitHub ↗

IsNumeric determines whether a data type is numeric

(dataType DataType)

Source from the content-addressed store, hash-verified

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

Callers 1

writeBatchRecordsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected