isSmallerThan static method

bool isSmallerThan({
  1. required num num1,
  2. required num num2,
})

Return true if num1 is smaller than num2.

Implementation

static bool isSmallerThan({required num num1, required num num2}) {
  return num1 < num2;
}