True iff the type id is encoded as a BSUP signed or unsigned integer scode.Bytes, float16 scode.Bytes, float32 scode.Bytes, or float64 scode.Bytes.
(id int)
| 164 | // True iff the type id is encoded as a BSUP signed or unsigned integer scode.Bytes, |
| 165 | // float16 scode.Bytes, float32 scode.Bytes, or float64 scode.Bytes. |
| 166 | func IsNumber(id int) bool { |
| 167 | return id <= IDDecimal256 |
| 168 | } |
| 169 | |
| 170 | // True iff the type id is encoded as a float encoding. |
| 171 | // XXX add IDDecimal here when we implement coercible math with it. |
no outgoing calls
no test coverage detected