IsIntegral returns true if querypb.Type is an integral (signed/unsigned) that can be represented using up to 64 binary bits.
(t querypb.Type)
| 34 | // (signed/unsigned) that can be represented using |
| 35 | // up to 64 binary bits. |
| 36 | func IsIntegral(t querypb.Type) bool { |
| 37 | return int(t)&flagIsIntegral == flagIsIntegral |
| 38 | } |
| 39 | |
| 40 | // IsSigned returns true if querypb.Type is a signed integral. |
| 41 | func IsSigned(t querypb.Type) bool { |
no outgoing calls