Hex Core JS
    Preparing search index...

    Function isEventKeyPress

    • Determines if the given React event represents the pressing of the given key.

      Parameters

      • event: KeyboardEvent<HTMLElement>

        The event to check.

      • key: Key

        The key to check for.

      Returns boolean