Generates and returns a new random Boolean value.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
A random Boolean value.
Typically, custom classes implementing this protocol should implement the
next method based on the value returned by the
next method. Alternative implementations are possible, but may lead to less uniform results.