Searched refs:pickBy (Results 1 – 2 of 2) sorted by relevance
1 import { set, get, pickBy } from '../obj';23 describe(pickBy, () => {25 expect(pickBy({ a: { b: { c: 'd' } } }, (_, key) => key.startsWith('a'))).toEqual({30 expect(pickBy({ a: { b: { c: 'd' } } }, (_, key) => !key.startsWith('a'))).toEqual({});
36 export function pickBy<T>( function