@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Function applicabilityRule

    • A position's appliesTo as a rule: null when it applies to every goods line (no list, an empty list, or a list naming baseSku, which means all its variants), else the SKUs it names (deduped). Same as avvyr-core applicabilityRule.

      Parameters

      • appliesTo: { skus?: readonly string[] | null } | null | undefined
      • baseSku: string | null = null

      Returns string[] | null