9 lines
132 B
Swift
9 lines
132 B
Swift
|
import Foundation
|
||
|
|
||
|
extension UInt32 {
|
||
|
|
||
|
static func random() -> UInt32 {
|
||
|
random(in: UInt32.min...UInt32.max)
|
||
|
}
|
||
|
}
|