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

    Function accumulateModification

    • Accumulate a single modification into an accumulator for its field family. This is the core operation handler that applies stacking rules.

      Parameters

      • acc: object

        The accumulator (must be initialized for the field type)

      • mod: ModificationModel

        The modification to apply

      • isLocal: boolean

        If true, use additive stacking; else use take-highest

      • field: string

        The field path being accumulated

      Returns void