(
guards: Array<{
condition: (row: any) => any
expected: boolean
}>,
row: any,
)
| 2047 | } |
| 2048 | |
| 2049 | function matchesConditionalSelectGuards( |
| 2050 | guards: Array<{ |
| 2051 | condition: (row: any) => any |
| 2052 | expected: boolean |
| 2053 | }>, |
| 2054 | row: any, |
| 2055 | ): boolean { |
| 2056 | return guards.every( |
| 2057 | (guard) => isCaseWhenConditionTrue(guard.condition(row)) === guard.expected, |
| 2058 | ) |
| 2059 | } |
| 2060 | |
| 2061 | export type CompileQueryFn = typeof compileQuery |
no test coverage detected