View as Markdown

API reference: @salmonui/calendars/calendar

getRangeDaysfunction

import { getRangeDays } from '@salmonui/calendars/calendar';

Also exported from @salmonui/calendars/date-picker, @salmonui/calendars/date-range-picker, @salmonui/calendars/time-picker.

function getRangeDays(range: DateRange<PlainDateLike> | null | undefined): number;

Inclusive number of days of a range; 0 for null.