[][src]Function in_definite::is_an

pub fn is_an(word: &str) -> bool

Returns true if the given word should be used with 'an' (not 'a').

Examples

use in_definite;
 
let result = in_definite::is_an("alien");

assert_eq!(true, result);
let result = in_definite::is_an("unicorn");

assert_eq!(false, result);