is_singular

Function is_singular 

Source
pub fn is_singular(word: &str) -> bool
Expand description

Returns wheter the noun is singular, if it is uncountable, will return true

§Arguments

  • word - The noun

§Examples

use pluralize_rs::is_singular;
assert!(!is_singular("words"));
assert!(is_singular("word"));