UNPKG

rambda

Version:

Lightweight and faster alternative to Ramda with included TS definitions

12 lines (9 loc) 255 B
import { curry } from './curry.js' import { equals } from './equals.js' import { prop } from './prop.js' function eqPropsFn( property, objA, objB ){ return equals(prop(property, objA), prop(property, objB)) } export const eqProps = curry(eqPropsFn)