UNPKG

rambda

Version:

Lightweight faster alternative to Ramda

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