Type will return one of: Float64Type, Float32Type, UintType, or IntType.
()
| 94 | // Type will return one of: |
| 95 | // Float64Type, Float32Type, UintType, or IntType. |
| 96 | func (n *Number) Type() Type { |
| 97 | if n.typ == InvalidType { |
| 98 | return IntType |
| 99 | } |
| 100 | return n.typ |
| 101 | } |
| 102 | |
| 103 | // DecodeMsg implements msgp.Decodable |
| 104 | func (n *Number) DecodeMsg(r *Reader) error { |
no outgoing calls