Function removeValue

  • Removes an element from the container. If the selector resolves to an array and the leaf is a non-numeric key, the remove operation will be performed on objects of the array.

    Parameters

    • obj: ArrayOrObject

      {ArrayOrObject} object or array

    • selector: string

      {String} dot separated path to element to remove

    • Optionaloptions: Pick<WalkOptions, "descendArray">

    Returns void