Skip to content

five-on-it / packages/shared/src/weather / daylightAt

Function: daylightAt() ​

daylightAt(minutes): number

Defined in: packages/shared/src/weather.ts:322

How light it is at a time of day, 0 (night) to 1 (day), easing through dawn and dusk (DAY).

Parameters ​

minutes ​

number

Returns ​

number