Learn R Programming

covfefe (version 1.0.0)

is_keyboard_adjacent: Check if two keys are adjacent

Description

Check if two keys are adjacent

Usage

is_keyboard_adjacent(key1, key2)

Value

Logical

Arguments

key1

Character. First key

key2

Character. Second key

Examples

Run this code
is_keyboard_adjacent("a", "s")  # TRUE
is_keyboard_adjacent("a", "p")  # FALSE

Run the code above in your browser using DataLab