@shopify/cli-kit
    Preparing search index...

    Function matchGlob

    • Matches a key against a glob pattern.

      Parameters

      • key: string

        The key to match.

      • pattern: string

        The glob pattern to match against.

      • Optionaloptions: MatchGlobOptions

        The options to refine the matching approach.

      Returns boolean

      true if the key matches the pattern, false otherwise.