isIDCard18

fun isIDCard18(input: CharSequence?): Boolean

Return whether input matches regex of id card number which length is 18.

Return

true: yes

false: no

Parameters

input

The input.