seconds(_:)
Construct a Duration given a number of seconds represented as a BinaryInteger.
Declaration
static func seconds<T>(_ seconds: T) -> Duration where T : BinaryIntegerReturn Value
A Duration representing a given number of seconds.
Discussion
let d: Duration = .seconds(77)