|
@@ -116,6 +116,15 @@ import { ValidatorHelper } from '@szyx/sdk_base';
|
|
ValidatorHelper.isPhone('13800000000')
|
|
ValidatorHelper.isPhone('13800000000')
|
|
```
|
|
```
|
|
|
|
|
|
|
|
+#### 1.4.2.是否为身份证号
|
|
|
|
+
|
|
|
|
+```typescript
|
|
|
|
+import { ValidatorHelper } from '@szyx/sdk_base';
|
|
|
|
+
|
|
|
|
+ValidatorHelper.isIdcardNum()
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+
|
|
### 1.5.[AlgorithmHelper](./src/main/ets/utils/AlgorithmHelper.ets)
|
|
### 1.5.[AlgorithmHelper](./src/main/ets/utils/AlgorithmHelper.ets)
|
|
|
|
|
|
> 计算相关
|
|
> 计算相关
|