ichigyou
    Preparing search index...

    Function isPrime

    • Function to check if a number is prime

      Parameters

      • num: number

        The number to check

      Returns boolean

      boolean - Returns true if the number is prime, false otherwise