mobx-bonsai
    Preparing search index...

    Function isParentOfChild

    • Returns if the target is a "parent" that has in its tree the given "child" node.

      Parameters

      • parent: object

        Target node.

      • child: object

        Child node.

      Returns boolean

      true if the object is a parent of the child, false otherwise.