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

    Function isPartySourced

    • Determine whether an active effect is sourced from a party actor (synchronous). 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 boolean

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