Function walk

  • Walk the object graph and execute the given transform function

    Parameters

    • obj: ArrayOrObject

      The object to traverse.

    • selector: string

      The selector to navigate.

    • fn: Callback<void, unknown>

      Callback to execute for value at the end the traversal.

    • Optionaloptions: WalkOptions

      The opetions to use for the function.

    Returns void