Action.onUntoggle

Sets the function that is executed when the Action is untoggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself
overload 1:
Action:onUntoggle(rightFunction)
Method Property Fluent Description Representation
rightFunction accepts a function that takes a Boolean and an Action and will return anything
Return Value an Action
a a