@witchcraft/spellcraft
    Preparing search index...
    • Internal

      If you have toggle keys in chords, their are "chains" of the same toggle key that would be physically impossible. For example: toggle(on) toggle(on).

      This guards against that.

      This does NOT guard against duplicates and errors in the same chord, for that see isValidChord.

      Parameters

      Returns Result<true, KnownError<"IMPOSSIBLE_TOGGLE_SEQUENCE">>