(a: BoolInterval, b: BoolInterval)
| 118 | if (isEmpty(b)) return restrict('maybe', () => a); |
| 119 | if (Array.isArray(a) || Array.isArray(b)) { |
| 120 | if (!Array.isArray(a) || !Array.isArray(b)) return { lo: NaN, hi: NaN }; |
| 121 | if (a.length !== b.length) return { kind: 'entire' }; |
| 122 | return a.map((x, i) => hullValues(x, b[i])); |
| 123 | } |
| 124 | if (isVerdict(a) || isVerdict(b)) { |
| 125 | if (!isVerdict(a) || !isVerdict(b)) return { lo: NaN, hi: NaN }; |
| 126 | return a === b ? a : 'maybe'; |
| 127 | } |
nothing calls this directly
no outgoing calls
no test coverage detected