[][src]Function voca_rs::query::is_decapitalize

pub fn is_decapitalize(subject: &str) -> bool

Checks whether subject is decapitalized and the rest of subject is converted to lower case.

Arguments

Example

use voca_rs::*;
query::is_decapitalize("");
// => true
query::is_decapitalize("John has a motorcycle");
// => false
query::is_decapitalize("the world is yours");
// => true
query::is_decapitalize("Żółć niedźwiedzia");
// => false
use voca_rs::Voca;
"the world is yours"._is_decapitalize();
// => true