isBeforeOrSame method

bool isBeforeOrSame(
  1. DateTime date
)

Implementation

bool isBeforeOrSame(DateTime date) {
  return !isAfter(date);
}