( base: T[], other: T[], )
| 185 | } |
| 186 | |
| 187 | export function areAllEquivalent<T extends {isEquivalent(other: T): boolean}>( |
| 188 | base: T[], |
| 189 | other: T[], |
| 190 | ) { |
| 191 | return areAllEquivalentPredicate(base, other, (baseElement: T, otherElement: T) => |
| 192 | baseElement.isEquivalent(otherElement), |
| 193 | ); |
| 194 | } |
| 195 | |
| 196 | export abstract class Expression { |
| 197 | public type: Type | null; |
no test coverage detected