• Parameters

    • collectionId: string

      The ID of the collection that contains the referring item.

    • propertyName: string

      The property that possibly contains the references to the referenced item.

    • referringItem: Item | ItemID

      The referring item or referring item's ID.

    • referencedItem:
          | Item
          | ItemID
          | Item[]
          | ItemID[]

      The referenced item or referenced item's ID.

    • Optionaloptions: WeivDataOptionsCache

      An object containing options to use when processing this operation.

    Returns Promise<boolean>

    Fulfilled - Whether the referring item contains a reference to the referenced item or not. Rejected - The error that caused the rejection.

    Checks if a reference to the referenced item exists in the specified property of the referring item.