Function idcard::validate[][src]

pub fn validate(number: &str) -> bool

Validates a Chinese ID number(only supports 15/18-digit).