isTel property

bool get isTel

是否是座机号码

Implementation

bool get isTel => hasMatch("^0\\d{2,3}[- ]?\\d{7,8}");