TimeInterval

public extension TimeInterval
  • Checks if since has passed since self.

    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 if since has passed since now.