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

    Parameters

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

    Returns object

    {object}

    Example

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

Generated using TypeDoc