(value: any)
| 17 | readonly name = 'array'; |
| 18 | |
| 19 | isInstance(value: any) { |
| 20 | if (value == null) return true; |
| 21 | if (!Array.isArray(value)) { |
| 22 | return false; |
| 23 | } |
| 24 | const list = value as (T | null | undefined)[]; |
| 25 | return list.every(i => this.itemType.isInstance(i)); |
| 26 | } |
| 27 | |
| 28 | isCoercible(value: any): boolean { |
| 29 | if (value == null) return true; |
nothing calls this directly
no test coverage detected