TimeInterval
public extension TimeInterval
-
Checks if
since
has passed sinceself
.Declaration
Swift
func hasPassed(since: TimeInterval) -> Bool
Parameters
since
The duration of time that needs to have passed for this function to return
true
.Return Value
true
ifsince
has passed since now.