Double
extension Double: SettingSerializable
-
Declaration
Swift
public static func get(key: String, userDefaults: UserDefaults) -> Double?
-
Declaration
Swift
public static func set(key: String, value: Double, userDefaults: UserDefaults)
-
Undocumented
Declaration
Swift
public var milliseconds: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var millisecond: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var ms: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var seconds: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var second: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var minutes: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var minute: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var hours: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var hour: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var days: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var day: TimeInterval { get }
-
Restrict a value to be between two others
Declaration
Swift
public func clamp(min minValue: `Self`, max maxValue: `Self`) -> Double
Parameters
minValue
the lowest acceptable value
maxValue
the highest acceptable value
Return Value
clamped value