@s-libs/micro-dash
    Preparing search index...

    Function omitBy

    • The opposite of pickBy; this function creates an object composed of the own enumerable string keyed properties of object that predicate doesn't return truthy for.

      Differences from lodash:

      • does not treat sparse arrays as dense

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 17,456 bytes
      • Micro-dash: 389 bytes

      Type Parameters

      • T
      • O

      Parameters

      • object: Nil | readonly T[]
      • predicate: ValueNarrowingIteratee<T[], O>

      Returns Record<number, Exclude<T, O>>

    • The opposite of pickBy; this function creates an object composed of the own enumerable string keyed properties of object that predicate doesn't return truthy for.

      Differences from lodash:

      • does not treat sparse arrays as dense

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 17,456 bytes
      • Micro-dash: 389 bytes

      Type Parameters

      • T

      Parameters

      • object: Nil | readonly T[]
      • predicate: ObjectIteratee<T, boolean>

      Returns Record<number, T>

    • The opposite of pickBy; this function creates an object composed of the own enumerable string keyed properties of object that predicate doesn't return truthy for.

      Differences from lodash:

      • does not treat sparse arrays as dense

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 17,456 bytes
      • Micro-dash: 389 bytes

      Type Parameters

      • I
      • T extends {}
      • O

      Parameters

      • object: I
      • predicate: ValueNarrowingIteratee<T, O>

      Returns Evaluate<
          | IfCouldBe<I, Nil, {}>
          | { [K in string | number | symbol]?: Exclude<T[K], O> } & {
              [K in string | number | symbol]: Exclude<T[K], O>
          },
      >

    • The opposite of pickBy; this function creates an object composed of the own enumerable string keyed properties of object that predicate doesn't return truthy for.

      Differences from lodash:

      • does not treat sparse arrays as dense

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 17,456 bytes
      • Micro-dash: 389 bytes

      Type Parameters

      • I
      • T extends {}
      • O

      Parameters

      • object: I
      • predicate: KeyNarrowingIteratee<T, O>

      Returns Evaluate<
          | IfCouldBe<I, Nil, {}>
          | { [K in string | number | symbol]: T[K] } & {
              [K in string | number | symbol]?: T[K]
          },
      >

    • The opposite of pickBy; this function creates an object composed of the own enumerable string keyed properties of object that predicate doesn't return truthy for.

      Differences from lodash:

      • does not treat sparse arrays as dense

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 17,456 bytes
      • Micro-dash: 389 bytes

      Type Parameters

      • T

      Parameters

      • object: T
      • predicate: ObjectIteratee<T, boolean>

      Returns Evaluate<PartialExceptIndexes<NonNullable<T>>>