WasTypingAborted
This function was added in DSL 1
Description
Returns if the reason IsTypingActive
returned false
was because the typing was aborted.
Typing can be aborted by pressing the enter key, or by using StopTyping
.
function WasTypingAborted() --[[ ... ]] end
Parameters
None.
Return Values
aborted
:boolean
-true
if the typing was aborted,false
otherwise.
Example
if WasTypingAborted() then
print('Typing was aborted.')
else
print('Typing completed successfully.')
end