Skip to content

pactole-js


Interface: BaseLotteryOptions

Defined in: lottery/base-lottery.ts:7

Options for creating a BaseLottery.

Properties

combinationFactory?

optional combinationFactory: CombinationFactory | null

Defined in: lottery/base-lottery.ts:23

Combination factory used by this lottery. Receives the same options object as LotteryCombination.getCombination. If null or not callable, a default LotteryCombination factory is used.

Default

null

drawDays?

optional drawDays: Iterable\<DayInput | Weekday, any, any> | DrawDays

Defined in: lottery/base-lottery.ts:14

Draw schedule for the lottery. May be a DrawDays instance or any iterable of DayInput values (numbers, strings, Date, or Weekday).

Default

[]