[][src]Function voca_rs::query::is_title

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

Checks whether subject is a titlecased string and there is at least one character.

Arguments

Example

use voca_rs::*;
query::is_title("This Is String Example...Wow!!!");
// => true
query::is_title("This is string example....wow!!!");
// => false
use voca_rs::Voca;
"This Is String Example...Wow!!!"._is_title();
// => true