isPrime(_:)

Deterministically checks whether a number is prime.

MathUtils.swift:61
func isPrime<I>(_ n: I) -> Bool where I : ExpressibleByIntegerLiteral, I : Strideable, I : Divisible, I : Remainderable, I.Stride : SignedInteger