Test a boolean to be true.
()
| 12 | Test a boolean to be true. |
| 13 | */ |
| 14 | get true(): this { |
| 15 | return this.addValidator({ |
| 16 | message: (value, label) => `Expected ${label} to be true, got ${value}`, |
| 17 | validator: value => value, |
| 18 | }); |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | Test a boolean to be false. |
no test coverage detected