pub fn check_imsi(imsi: &str) -> Result<u16, DigitsError>Expand description
Checks that an IMSI has 6 to 15 digits and a plausible MCC.
Returns the MCC. Geographic MCCs start with 2 to 7. MCC 001 is the test network. MCCs 901 and 902 are international shared codes, which roaming SIMs use.
ยงErrors
Returns what is wrong with the IMSI.