Function isPrime

  • Examine if number is prime.

    Parameters

    • x: number

      a number

    Returns boolean

    is divisible by 1 and itself only?

Generated using TypeDoc