Return true if num1 is smaller than num2 or both numbers are equal.
num1
num2
static bool isSmallerThanOrEqual({required num num1, required num num2}) { return num1 <= num2; }