event.metaKeyThe event.metaKey property in jQuery will check if the META key(Win key or Command key) was pressed when the event fired.
event.metaKey property ExampleCheck if the META key was pressed when the event fired.
$("button").click(function( event ) {
console.log( event.metaKey );
});
