Body, Mind & Soul — API Reference
    Preparing search index...
    isUnderEffect: {
        allowedTargetScopes: string[];
        configFields: {
            label: string;
            name: string;
            placeholder: string;
            type: string;
        }[];
        configPartial: string;
        evaluate: (
            cond: any,
            __namedParameters: { actor: any; targetActor: any },
        ) => boolean;
        hooks: string;
    }

    True when the subject has at least one active (non-disabled) effect whose name matches the configured value (case-insensitive). Respects target scope: "self" checks the trigger owner; "target" checks the target actor. For stackable effects with stage-name projection, matches both the current stage name (e.name) and the base/pre-projection name (e._source.name).

    Type Declaration

    • allowedTargetScopes: string[]
    • configFields: { label: string; name: string; placeholder: string; type: string }[]
    • configPartial: string
    • evaluate: (cond: any, __namedParameters: { actor: any; targetActor: any }) => boolean
    • hooks: string