• Determine whether the user has pressed the key

    Parameters

    • key: string

      upper case.

    Returns boolean