CFRunLoopTimerIsValid(_:)
Returns a Boolean value that indicates whether a CFRunLoopTimer object is valid and able to fire.
Declaration
func CFRunLoopTimerIsValid(_ timer: CFRunLoopTimer!) -> BoolParameters
- timer:
The run loop timer to examine.
Return Value
true if timer is valid; otherwise false.
Discussion
A non-repeating timer is automatically invalidated after it fires.
See Also
CFRunLoopTimer Miscellaneous Functions
CFRunLoopTimerCreateWithHandler(_:_:_:_:_:_:)CFRunLoopTimerCreate(_:_:_:_:_:_:_:)CFRunLoopTimerDoesRepeat(_:)CFRunLoopTimerGetContext(_:_:)CFRunLoopTimerGetInterval(_:)CFRunLoopTimerGetNextFireDate(_:)CFRunLoopTimerGetOrder(_:)CFRunLoopTimerGetTypeID()CFRunLoopTimerInvalidate(_:)CFRunLoopTimerSetNextFireDate(_:_:)