@witchcraft/spellcraft
    Preparing search index...

    Function containsKey

    • Returns whether a shortcut's chain or chord contains the given key according to equalsKey.

      Parameters

      • chordOrChain: string[] | string[][]
      • key: string
      • keys: Keys
      • opts: { allowVariants?: boolean } = {}

      Returns boolean