()
| 1307 | } |
| 1308 | |
| 1309 | get minLength() { |
| 1310 | let min: number | null = null; |
| 1311 | for (const ch of this._def.checks) { |
| 1312 | if (ch.kind === "min") { |
| 1313 | if (min === null || ch.value > min) min = ch.value; |
| 1314 | } |
| 1315 | } |
| 1316 | return min; |
| 1317 | } |
| 1318 | |
| 1319 | get maxLength() { |
| 1320 | let max: number | null = null; |
no outgoing calls
no test coverage detected