• This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to customize path creation. The updater is invoked with one argument: (value).


    • object: object

      The object to modify.

    • path: PropertyPath

      The path of the property to set.

    • updater: ((value) => any)

      The function to produce the updated value.

        • (value): any
        • Parameters

          • value: any

          Returns any

    Returns any

    Returns object.

Generated using TypeDoc