If the `Value` is a Boolean, returns the associated bool. Returns None otherwise.
(&self)
| 533 | /// If the `Value` is a Boolean, returns the associated bool. Returns None |
| 534 | /// otherwise. |
| 535 | pub fn as_bool(&self) -> Option<bool> { |
| 536 | match *self { |
| 537 | Value::Boolean(b) => Some(b), |
| 538 | _ => None, |
| 539 | } |
| 540 | } |
| 541 | |
| 542 | /// Returns true if the `Value` is a Vec<String>. Returns false otherwise. |
| 543 | /// |
no outgoing calls
no test coverage detected