Skip to content

Documentation / jalali-js / isRangeSelectable

Function: isRangeSelectable()

isRangeSelectable(start, end, rules?): boolean

Defined in: selection-rules.ts:50

True when every day from start to end (bounds included) is selectable. The range pickers use this to decide whether a candidate range may complete: a range that crosses a blocked day does not complete, and the click starts a new range instead.

Parameters

start

CalendarDate

end

CalendarDate

rules?

SelectionRules

Returns

boolean