Function gcd

  • Find the greatest common divisor of numbers.

    Parameters

    • Rest ...xs: number[]

      a list of numbers

    Returns number

    gcd(x₁, x₂, ...)

Generated using TypeDoc