CMTIME_IS_POSITIVEINFINITY(_:)
Returns a Boolean value that indicates whether a given time is positive infinity.
Declaration
func CMTIME_IS_POSITIVEINFINITY(_ time: CMTime) -> BoolParameters
- time:
A time value to test.
Return Value
true if the time represents positive infinity; otherwise, false.
Discussion
Use this macro instead of testing if a time is equal to positiveInfinity, because there are many times that represent positive infinity. This is because the system ignores nonflags fields, so they can contain anything.