isGte function

IValidator isGte(
  1. num min
)

Checks whether the given value is greater or equal to min

Implementation

IValidator isGte(num min) =>
    isType<num>() &
  ((isGt(min) | isEq(min)) > Expectation(
    message: 'greater than or equal to $min',
    code: 'value.range_out_of_bounds',
    data: {'operator': '>=', 'limit': min}));