Skip to content

checkDayHour

checkDayHour(hour): boolean

Defined in: packages/engine/src/gameplay/world/actions.ts:44

Whether the clock can open or jump to an hour: a NaN or infinite hour stays NaN from then on, as checkDayLength guards below.

Parameter Type
hour number

boolean