numericCompare method

int numericCompare (
  1. num a,
  2. num b
)

numeric comparision between two number a and b

Returns: -1 , 0 or +1

Implementation

static int numericCompare(num a, num b) => a.compareTo(b);