UNPKG

rambda

Version:

Lightweight and faster alternative to Ramda with included TS definitions

11 lines (8 loc) 220 B
import { curry } from './curry.js' import { prop } from './prop.js' function propSatisfiesFn( predicate, property, obj ){ return predicate(prop(property, obj)) } export const propSatisfies = curry(propSatisfiesFn)