@witchcraft/spellcraft
    Preparing search index...
    • Returns whether the shortcut passed is equal to shortcutA one.

      To return true, their keys and command must be equal (unless ignoreCommand is passed), their condition must be equal according to shortcutA shortcut's condition.

      Type Parameters

      Parameters

      • shortcutA: TShortcut
      • shortcutB: Shortcut
      • manager: Pick<Manager, "commands" | "keys"> & PickManager<
            "options",
            "conditionEquals"
            | "evaluateCondition",
        >
      • __namedParameters: { ignoreCommand?: boolean } = {}

      Returns shortcutB is TShortcut