mobx-keystone

    Function getRefsResolvingTo

    • Gets all references that resolve to a given object.

      Type Parameters

      • T extends object

        Referenced object type.

      Parameters

      • target: T

        Node the references point to.

      • OptionalrefType: RefConstructor<T>

        Pass it to filter by only references of a given type, or omit / pass undefined to get references of any type.

      • Optionaloptions: { updateAllRefsIfNeeded?: boolean }

        Options.

      Returns ObservableSet<Ref<T>>

      An observable set with all reference objects that point to the given object.

    MMNEPVFCICPMFPCPTTAAATR