Function idcard::validate[][src]

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

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