⚗️ transform 👽 alias
Keeps entries satisfying Criteria in array or tuple A.
Criteria
A
of Filter
type R = KeepMatch<[1, 2, 3], number> // [1, 2]type R = KeepMatch<Array<string|undefined>, string> // string[] Copy
type R = KeepMatch<[1, 2, 3], number> // [1, 2]type R = KeepMatch<Array<string|undefined>, string> // string[]
⚗️ transform 👽 alias
Keeps entries satisfying
Criteria
in array or tupleA
.