Function: controlOrMeta

controlOrMeta(metaKey, ctrlKey): boolean

Returns true if the user is pressing the control key on Windows or the meta key on Mac.

Parameters

NameType
metaKeyboolean
ctrlKeyboolean

Returns

boolean