• The opposite of _.pickBy; this method creates an object composed of the own and inherited enumerable properties of object that predicate doesn't return truthy for.

    Type Parameters

    • T

    Parameters

    • object: undefined | null | Dictionary<T>

      The source object.

    • Optional predicate: ValueKeyIteratee<T>

      The function invoked per property.

    Returns Dictionary<T>

    Returns the new object.

    Example

    var object = { 'a': 1, 'b': '2', 'c': 3 };

    _.omitBy(object, _.isNumber);
    // => { 'b': '2' }
  • Type Parameters

    • T

    Parameters

    • object: undefined | null | NumericDictionary<T>
    • Optional predicate: ValueKeyIteratee<T>

    Returns NumericDictionary<T>

    See

    _.omitBy

  • Type Parameters

    • T extends object

    Parameters

    • object: undefined | null | T
    • predicate: ValueKeyIteratee<T[keyof T]>

    Returns Partial<T>

    See

    _.omitBy

Generated using TypeDoc