Parameter syntax:
'toggle'|'on'|'off'|isOn'
Allows to switch from Insert Mode to Overwrite Mode and vice versa.
Typing a character inserts it at caret position.
Typing a character replaces the character found at caret position by the typed character. If the caret is positioned at the very end of a text (or comment or processing-instruction) node, then typed characters are simply inserted there.
Options:
Switch from Insert Mode to Overwrite Mode and vice versa.
Ensures that Overwrite Mode is turned on.
Ensures that Overwrite Mode is turned off.
Returns Boolean.TRUE
if Overwrite Mode is turned on; otherwise returns Boolean.FALSE
.
Whatever the option used, this command returns a Boolean
indicating whether Overwrite Mode is turned on.