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

    Function isOptionError

    • Is this an OPTION_* refusal? With code, that one.

      Parameters

      • err: unknown
      • Optionalcode: string

      Returns boolean