function bookedSpanDays
bookedSpanDays(
startIso: string | null,
endIso: string | null,
): number

The whole day count of a stored [start_at, end_at) booking range — the customisable day count the buyer chose. A missing or degenerate range is 1.

Parameters

startIso: string | null
endIso: string | null

Return Type

number

Usage

import { bookedSpanDays } from "docs/listings.ts";