IsBool checks whether the underlying value is a bool
()
| 48 | |
| 49 | // IsBool checks whether the underlying value is a bool |
| 50 | func (v *Value) IsBool() bool { |
| 51 | return v.getResolvedValue().Kind() == reflect.Bool |
| 52 | } |
| 53 | |
| 54 | // IsFloat checks whether the underlying value is a float |
| 55 | func (v *Value) IsFloat() bool { |
no test coverage detected