si-funciona
    Preparing search index...

    Function compare

    • Compare two numbers and return: -1 to indicate val1 is less than val2 0 to indicate both values are the equal 1 to indicate val1 is greater than val2

      Parameters

      • val1: number

        The first number to compare

      • val2: number

        The second number to compare

      Returns number