TimeInterval

public extension TimeInterval
  • Percentage of TimeInterval

    Declaration

    Swift

    func percentOf(_ value: `Self`) -> Double

    Parameters

    value

    Percentage value. Accepted value between 0 to 100. eg. 95

    Return Value

    Computed percentage value