()
| 477 | } |
| 478 | |
| 479 | private hasStringValue() { |
| 480 | const tester: Record<string, any> = this.validations; |
| 481 | let status = false; |
| 482 | |
| 483 | for (const key of Object.keys(tester)) { |
| 484 | if (typeof tester[key] === "string") { |
| 485 | status = true; |
| 486 | } |
| 487 | } |
| 488 | |
| 489 | return status; |
| 490 | } |
| 491 | } |
| 492 | |
| 493 | export default Model; |