// works with dates declare const today: Date declare const nextMonth: Date const refineInCurrentMonth=x.between(today,nextMonth,'In current month') const dateInCurrentMonth=refineInCurrentMonth(x.date)
// works with numbers const refineAsStarRating=x.between(0,5,'StarRating') const starRating=refineAsStarRating(x.number)
Example