• Returns the greatest common divisor of two numbers.

    Parameters

    • a: number

      First number

    • b: number

      Second number

    Returns number

    Example

    // Returns 17
    const gcd = Chalkboard.numb.gcd(68, 119);

Generated using TypeDoc