const WEATHER_FIELDS = [ "temperature", "humidity", "pressure", "illuminance", "precipitations", "wind_speed", "wind_direction", ]; function hasValue(value) { return value !== null && value !== undefined; } module.exports = { WEATHER_FIELDS, hasValue, };