greaterThanEquals method

IntType greaterThanEquals(
  1. int length
)

allow only values <= value value the upper limit

Implementation

IntType greaterThanEquals(int length) {
  test<int>(
    type: int,
    name: "greaterThanEquals",
    params: {
      "greaterThanEquals": length
    },
    check: (obj) => obj >= length,
  );

  return this;
}