pub fn is_viable<S: AsRef<str>>(string: S) -> bool {
	let string = string.as_ref();

	if string.len() < consts::MIN_LENGTH_FOR_NSN {
		return false;
	}

	parser::valid::phone_number(string).is_ok()
}
/// Check if the provided string is a viable phone number.
Check if the provided string is a viable phone number.
Check if the provided string is a viable phone number .
pub fn is_viable<S: AsRef<str>>(string: S) -> bool {
	let string = string.as_ref();
	if string.len() < consts::MIN_LENGTH_FOR_NSN {
		return false;
	}
	parser::valid::phone_number(string).is_ok()
}
pub fn is_viable < S : AsRef < str > > ( string : S ) -> bool { let string = string . as_ref ( ) ; if string . len ( ) < consts :: MIN_LENGTH_FOR_NSN { return false ; } parser :: valid :: phone_number ( string ) . is_ok ( ) }
Check if the provided string is a viable phone number.
Check if the provided string is a viable phone number .
string
S