IsFloat checks whether the underlying value is a float
()
| 53 | |
| 54 | // IsFloat checks whether the underlying value is a float |
| 55 | func (v *Value) IsFloat() bool { |
| 56 | return v.getResolvedValue().Kind() == reflect.Float32 || |
| 57 | v.getResolvedValue().Kind() == reflect.Float64 |
| 58 | } |
| 59 | |
| 60 | // IsInteger checks whether the underlying value is an integer |
| 61 | func (v *Value) IsInteger() bool { |