Function getParentPath

  • Returns the parent of the target plus the path from the parent to the target, or undefined if it has no parent.

    Type Parameters

    • T extends object = any

    Parameters

    • value: object

      Target object.

    Returns ParentPath<T> | undefined

    T Parent object type.