(value: string)
| 116 | } |
| 117 | |
| 118 | export const errorValidateNegativeInteger = (value: string) => { |
| 119 | const negativeIntegerRegexp = /^-?\d+$/ |
| 120 | return !negativeIntegerRegexp.test(value) |
| 121 | } |
| 122 | |
| 123 | export const validateCertName = (initValue: string) => |
| 124 | initValue.replace(/[^ a-zA-Z0-9!@#$%^&*\-_()[\]]+/gi, '').toString() |
no outgoing calls
no test coverage detected