Function isPrime

  • Check if bigint is prime.

    Returns

    is divisible by 1n and itself only?

    Parameters

    • x: bigint

      a bigint

    Returns boolean

Generated using TypeDoc