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

ParameterType
metaKeyboolean
ctrlKeyboolean

Returns

boolean