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