Skip to content

isBundleActive

isBundleActive(entry, now?): boolean

Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/product/bundles.d.ts:128

Whether a bundle should render right now: not explicitly inactive, and the current time is inside [startsAt, endsAt] (both inclusive). Date-only values (YYYY-MM-DD) span the full local day - startsAt from local midnight, endsAt through 23:59:59.999 - matching the Function’s day-granularity enforcement; full ISO timestamps are compared exactly. Unparseable bounds are ignored.

BundleEntry

Date

boolean