function dayPriceFor
dayPriceFor(
days: number,
): number | null

The per-ticket price (minor units) for booking days on a customisable listing, or null when the listing isn't customisable or that count has no configured price (and therefore isn't offered).

Parameters

days: number

Return Type

number | null

Usage

import { dayPriceFor } from "docs/config.ts";