/// Returns true if the `Value` is a string.
///
/// For any `Value` on which `is_string` returns true, [`as_str`] is
/// guaranteed to return the string slice.
///
/// # Example
///
/// ```
/// # extern crate json_api;
/// #
/// # use json_api::Value;
/// #
/// # fn main() {
/// let value = Value::String("Hello, world!".to_owned());
///
/// assert!(value.is_string());
/// value.as_str().unwrap();
/// # }
/// ```
///
/// [`as_str`]: #method.as_str
Returns true if the `Value` is a string.
Returns true if the ` Value ` is a string .
pub fn is_string(&self) -> bool {
        match *self {
            Value::String(_) => true,
            _ => false,
        }
    }
pub fn is_string ( & self ) -> bool { match * self { Value :: String ( _ ) => true , _ => false , } }
Returns true if the `Value` is a string.
Returns true if the ` Value ` is a string .
&self
<not_specific>
example
None
extern crate json_api;
None
use json_api::value;
None
fn main() {
let value = Value::String("Hello, world!".to_owned()).

assert!(value.is_string());
value.as_str().unwrap().
let value = Value :: String ( " Hello world! " . to_owned () ) . assert! ( value . is_string () ) ; value . as_str () . unwrap () .
}
None