pub fn is_valid_bip39_word(word: &str, language: Option<Language>) -> boolExpand description
Checks if a word is a valid BIP39 word for the specified language.
§Arguments
word- The word to checklanguage- Optional language (default: English)
§Returns
bool- true if the word is valid, false otherwise
§Example
use bitcoin_address_generator::is_valid_bip39_word;
assert!(is_valid_bip39_word("abandon", None));
assert!(!is_valid_bip39_word("notaword", None));