IsString checks whether the underlying value is a string
()
| 43 | |
| 44 | // IsString checks whether the underlying value is a string |
| 45 | func (v *Value) IsString() bool { |
| 46 | return v.getResolvedValue().Kind() == reflect.String |
| 47 | } |
| 48 | |
| 49 | // IsBool checks whether the underlying value is a bool |
| 50 | func (v *Value) IsBool() bool { |
no test coverage detected