pub fn get_len(len: usize, lang: Lang) -> Option<&'static str>
Returns a random word with the given length and language.
use random_word::Lang; let word = random_word::get_len(4, Lang::En); assert!(word.is_some());