ezyVet Javascript Helper Library Documentation
    Preparing search index...

    Function omit

    • this method creates an object composed of the own and inherited enumerable property paths of object that are not omitted.

      Parameters

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

      Returns object

      {object}

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