A Boolean value that indicates whether the timer is currently valid.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
var isValid: Bool { get }
Discussion
true
if the receiver is still capable of firing or false
if the timer has been invalidated and is no longer capable of firing.