mobx-bonsai
    Preparing search index...

    Function isRoot

    • Returns if a given node is a root object.

      Note that this function will throw if the passed object is not a node.

      Parameters

      • node: object

        Target object.

      Returns boolean

      true if the object is a root, false otherwise.