timerDoneOrNone
Return true if timerDone or if there is no timer. Useful for periodic
events (see Clock example in Examples.animations).
Only valid between Window.beginand Window.end.
Parameters
- id:Id
- Id
Source
Implementation
pub fn timerDoneOrNone(id: Id) bool {
return timerDone(id) or (timerGet(id) == null);
}