isSameOrBetween Type documentation¶
TypeScript declaration¶
import { isSameOrBetween } from '@siemens/element-ng/datepicker';Compare the current date is the same date or between start and end date.
Returns: true if the date is in the provided range.
isSameOrBetween(current: Date, from?: Date, to?: Date): boolean
Compare the current date is the same date or between start and end date.
Returns: true if the date is in the provided range.
Except where otherwise noted, content on this site is licensed under MIT License.