ichigyou
    Preparing search index...

    Function isPrimeFactor

    • Checks if a given number is a prime factor of another number.

      Parameters

      • num: number

        The number to check for prime factor status.

      • factor: number

        The potential prime factor.

      Returns boolean

      true if factor is a prime factor of num, otherwise false.