pub fn wordcount(value: Value, _: HashMap<String, Value>) -> Result<Value> {
    let s = try_get_value!("wordcount", "value", String, value);

    Ok(to_value(&s.split_whitespace().count()).unwrap())
}
/// Gets the number of words in a string.
Gets the number of words in a string.
Gets the number of words in a string .
pub fn wordcount(value: Value, _: HashMap<String, Value>) -> Result<Value> {
    let s = try_get_value!("wordcount", "value", String, value);
    Ok(to_value(&s.split_whitespace().count()).unwrap())
}
pub fn wordcount ( value : Value , _ : HashMap < String , Value > ) -> Result < Value > { let s = try_get_value ! ( " " " " String value ) ; Ok ( to_value ( & s . split_whitespace ( ) . count ( ) ) . unwrap ( ) ) }
Gets the number of words in a string.
Gets the number of words in a string .
value
HashMap<String, Value>
value
HashMap<String, Value>