@welldot/utils

inferLoggerInterval

Median spacing between consecutive readings, in minutes rounded to 0.1.

inferLoggerInterval(readings): number | undefined

Median spacing between consecutive readings, in minutes rounded to 0.1.

Parameters

readings

LoggerReading

Returns

number | undefined

undefined with fewer than two readings with distinct instants.