Global Functionfwcd.swift-utils 4.6.2Utils
isPrime(_:)
Deterministically checks whether a number is prime.
func isPrime<I>(_ n: I) -> Bool where I : ExpressibleByIntegerLiteral, I : Strideable, I : Divisible, I : Remainderable, I.Stride : SignedInteger