Return true if this value is [`IntValue`] or [`FloatValue`]
(&self)
| 385 | |
| 386 | /// Return true if this value is [`IntValue`] or [`FloatValue`] |
| 387 | pub fn is_number(&self) -> bool { |
| 388 | self.is_int() || self.is_float() |
| 389 | } |
| 390 | |
| 391 | /// Return true if this value is [`BoolValue`] |
| 392 | pub fn is_bool(&self) -> bool { |