mobx-keystone
    Preparing search index...

    Function getRootStore

    • Gets the root store of a given tree child, or undefined if none.

      Type Parameters

      • T extends object

        Root store type.

      Parameters

      • node: object

        Target to find the root store for.

      Returns undefined | T