Whenable.IsReleased()

args: none

returns: Whenable

IsReleased() is used to register a released event for the most recent identifier in a When chain.

// registers a "released" event for the "a" key
When('a').IsReleased().Execute(console.log);