Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/object/omit

Index

Functions

Functions

Const omit

  • omit(obj: object, ...path: string[] | string[][]): object
  • this method creates an object composed of the own and inherited enumerable property paths of object that are not omitted.

    example

    omit({ 'a': 1, 'b': '2', 'c': 3 }, ['a', 'c']); // returns { 'b': '2' }

    Parameters

    • obj: object
    • Rest ...path: string[] | string[][]

    Returns object

    {object}

Generated using TypeDoc