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>

    Typeparam

    T Root object type.