(a, b, runtime)
| 407 | * @returns {RuntimeCondition} result |
| 408 | */ |
| 409 | const subtractRuntimeCondition = (a, b, runtime) => { |
| 410 | if (b === true) return false; |
| 411 | if (b === false) return a; |
| 412 | if (a === false) return false; |
| 413 | const result = subtractRuntime(a === true ? runtime : a, b); |
| 414 | return result === undefined ? false : result; |
| 415 | }; |
| 416 | |
| 417 | /** |
| 418 | * Returns true/false if filter is constant for all runtimes, otherwise runtimes that are active. |
no test coverage detected