Body, Mind & Soul — API Reference
    Preparing search index...

    Function isPartySourcedAsync

    • Determine whether an active effect is sourced from a party actor (async version). Checks both the effect's direct parent (for party-held records) and its origin UUID.

      Parameters

      • effect: ActiveEffect

        The active effect to check

      • OptionalpartyUuid: string

        Optional specific party UUID to match against; if omitted, returns true for any party-sourced effect

      Returns Promise<boolean>

      True if the effect is held by or sourced from a party actor