isNight beta
Function of @v12-engine/engine
ts
isNight: (day: DayCycle | null, hour: number) => booleanWhether the hour (0..24) is night under the day cycle, before its dawn or from its dusk; never night without a day cycle