(value: any)
| 17 | readonly name = 'union'; |
| 18 | |
| 19 | isInstance(value: any) { |
| 20 | return this.itemTypes.some(t => t.isInstance(value)); |
| 21 | } |
| 22 | |
| 23 | isCoercible(value: any) { |
| 24 | return this.itemTypes.some(t => t.isCoercible(value)); |
nothing calls this directly
no test coverage detected