Skip to main content

compareBlockNumbers

Callable

  • compareBlockNumbers(blockA: Numbers, blockB: Numbers): 0 | 1 | -1

  • Compares between block A and block B Returns -1 if a < b, returns 1 if a > b and returns 0 if a == b


    Parameters

    • blockA: Numbers
    • blockB: Numbers

    Returns 0 | 1 | -1