Function mergeMaximizeOptions

  • Merges a partial set of maximizer options onto a full set maximizer options. We merge via overriding for all boolean properties and for onlySlot, and concat all other array properties.

    Parameters

    • defaultOptions: MaximizeOptions

      MaximizeOptions to use as a "base."

    • addendums: Partial<MaximizeOptions>

      Options to attempt to merge onto defaultOptions.

    Returns MaximizeOptions

    Merged maximizer options