@neocomplexx/ngx-neo-directives-mat
Version:
9 lines (8 loc) • 326 B
TypeScript
/**
* Boolean function that check if the keyboard event is not a normal key but a command like key
* Will return boolean if the key is Alt, Shift , Control, Delete, Tab, Backspace, Arrows, Home, End, PageUp and PageDown.
*
* @export
* @param e
*/
export declare function isCommandKey(e: KeyboardEvent): boolean;