function eventSupportsDirectCheckout
eventSupportsDirectCheckout(event: Pick<EventWithCount, "id" | "fields">): Promise<boolean>

Whether this event can send QR code scanners directly to checkout. True when no extra contact fields or questions are required.

Parameters

event: Pick<EventWithCount, "id" | "fields">

Return Type

Promise<boolean>

Usage

import { eventSupportsDirectCheckout } from "doc.ts";