@laserware/keytar
    Preparing search index...

    Function isChordPressed

    • Checks if one of the specified chords combinations were pressed based on the specified keyboard or mouse event.

      Parameters

      • event: ChordedEvent

        Keyboard or mouse event from an event listener.

      • ...chords: number[]

        Combination of Token elements to check for from the event.

      Returns boolean

      true if any of the specified chords were pressed.