mobx-keystone
    Preparing search index...

    Function getRoot

    • Returns the root of the target object, or itself if the target is a root.

      Type Parameters

      • T extends object = any

        Root object type.

      Parameters

      • value: object

        Target object.

      Returns T