- pickBy<T, S>(object, predicate?): Dictionary<S>
Parameters
- object: undefined | null | Dictionary<T>
Optional
predicate: ValueKeyIterateeTypeGuard<T, S>
Returns Dictionary<S>
Returns the new object.
- pickBy<T, S>(object, predicate): NumericDictionary<S>
Parameters
- object: undefined | null | NumericDictionary<T>
- predicate: ValueKeyIterateeTypeGuard<T, S>
Returns NumericDictionary<S>
- pickBy<T>(object, predicate?): Dictionary<T>
Parameters
- object: undefined | null | Dictionary<T>
Optional
predicate: ValueKeyIteratee<T>
Returns Dictionary<T>
- pickBy<T>(object, predicate?): NumericDictionary<T>
Parameters
- object: undefined | null | NumericDictionary<T>
Optional
predicate: ValueKeyIteratee<T>
Returns NumericDictionary<T>
- pickBy<T>(object, predicate?): Partial<T>
Parameters
- object: undefined | null | T
Optional
predicate: ValueKeyIteratee<T[keyof T]>
Returns Partial<T>
Creates an object composed of the
object
propertiespredicate
returns truthy for. The predicate is invoked with two arguments: (value, key).