[][src]Function voca_rs::query::is_camel_case

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

Checks whether subject is camelCased.

Arguments

Example

use voca_rs::*;
query::is_camel_case("");
// => true
query::is_camel_case("birdFlight");
// => true
query::is_camel_case("bird flight");
// => false
query::is_camel_case("-BIRD-FLIGHT-");
// => false
use voca_rs::Voca;
"birdFlight"._is_camel_case();
// => true