.key_condition: Create a JS condition for a key
Description
Create a JS condition for a key
Usage
.key_condition(key, to_lower = TRUE)
Arguments
key
key to convert into a condition
to_lower
should the key be converted to lowercase. Default TRUE
Value
JS condition for checking shortcut