pub fn is_modifier(key: &str) -> boolExpand description
Whether a key name is a modifier rather than a key.
GPUI names a bare modifier shift, control, alt, platform, or
function when it parses one; platforms deliver the more familiar spelling
of the same keys, so both are refused.