We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 176b2b0 commit bd98b0dCopy full SHA for bd98b0d
whereEq.ts
@@ -4,7 +4,7 @@ import where from "./where.ts"
4
import map from "./map.ts"
5
import curry from './curry.ts'
6
7
-function whereEq(spec: Obj, testObj: ObjRec) {
+function whereEq(spec: ObjRec, testObj: ObjRec) {
8
const equals = curry(2, (x: number, y: number) => x === y)
9
return where(map(equals, spec), testObj)
10
}
0 commit comments