Skip to main content

+ operator

lval + rval

fsmapper overrides the __add function of the metatable for Keystroke objects, allowing the use of the + operator on Keystroke objects. You can combine two Keystroke objects to create a new Keystroke object by using the + operator.

Parameters

ParameterTypeDescription
lvalKeystrokeLeft operand
rvalKeystrokeRight operand

Return Values

This operator returns a Keystroke object.

See Also