@lakuna/umath
    Preparing search index...

    Function isPrime

    • Returns whether or not a number is prime.

      Parameters

      • n: number

        The number.

      Returns boolean

      Whether or not the number is prime.