isIn method

bool isIn(
  1. Timespan t, {
  2. bool strict = false,
})

same as isBetween but with a timespan as argument

Implementation

bool isIn(Timespan t, {bool strict = false}) =>
    isBetween(t.begin, t.end, strict: strict);