Function getRootPath

  • Returns the root of the target plus the path from the root to get to the target.

    Type Parameters

    • T extends object = any

    Parameters

    • value: object

      Target object.

    Returns RootPath<T>

    T Root object type.