BigNumber.opCmp

Compare the BigNumber to y

  1. int opCmp(BigNumber y)
  2. int opCmp(T y)
    struct BigNumber
    @trusted @nogc pure nothrow const
    int
    opCmp
    (
    T
    )
    (
    T y
    )
    if (
    isIntegral!T
    )
  3. int opCmp(T y)

Parameters

y T

value to be compared

Return Value

Type: int

true if the values are equal