Function getRefsResolvingTo

  • Gets all references that resolve to a given object.

    Type Parameters

    • T extends object

    Parameters

    • target: T

      Node the references point to.

    • Optional refType: RefConstructor<T>

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

    • Optional options: {
          updateAllRefsIfNeeded?: boolean;
      }

      Options.

      • Optional updateAllRefsIfNeeded?: boolean

    Returns ObservableSet<Ref<T>>

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

    Typeparam

    T Referenced object type.