( input: InvalidationKeyInput | ReadonlyArray<InvalidationKeyInput> )
| 27 | Array.isArray(input) && input[0] !== undefined && typeof input[0] !== "string" |
| 28 | |
| 29 | const normalizeInputs = ( |
| 30 | input: InvalidationKeyInput | ReadonlyArray<InvalidationKeyInput> |
| 31 | ): ReadonlyArray<InvalidationKey> => isBatch(input) ? input.map(normalizeKey) : [normalizeKey(input)] |
| 32 | |
| 33 | /** |
| 34 | * A single segment within an `InvalidationKey` array. |
no test coverage detected
searching dependent graphs…