UNPKG

rambda

Version:

Lightweight and faster alternative to Ramda with included TS definitions

11 lines (8 loc) 207 B
import { curry } from './curry.js' import { is } from './is.js' function propIsFn( targetPrototype, property, obj ){ return is(targetPrototype, obj[ property ]) } export const propIs = curry(propIsFn)