Function compare

  • Compare two numbers.

    Parameters

    • x: number

      a number

    • y: number

      another number

    Returns number

    x<y: -ve, x=y: 0, x>y: +ve

Generated using TypeDoc