I want:
let randomNumber = (1...10).sample
Specifically I only need this for Integers, but it would fun to know a general solution.
I want:
let randomNumber = (1...10).sample
Specifically I only need this for Integers, but it would fun to know a general solution.