Keep only entries for which predicate returns true. Result is typed Partial since keys may be absent.
predicate
true
Partial
Dual API — works data-first or curried for use in pipe.
pipe
pipe( { a: 1, b: 2, c: 3 }, Records.filter((v) => v % 2 === 1), ) // { a: 1, c: 3 } Copy
pipe( { a: 1, b: 2, c: 3 }, Records.filter((v) => v % 2 === 1), ) // { a: 1, c: 3 }
Keep only entries for which
predicatereturnstrue. Result is typedPartialsince keys may be absent.Dual API — works data-first or curried for use in
pipe.