• Matches a key against a glob pattern.

    Parameters

    • key: string

      The key to match.

    • pattern: string

      The glob pattern to match against.

    • Optional options: MatchGlobOptions

      The options to refine the matching approach.

    Returns boolean

    true if the key matches the pattern, false otherwise.