fruit-company
Version:
Apple services library
13 lines (12 loc) • 488 B
TypeScript
/**
* The intensity category of a measurement such as precipitation intensity per hour.
*/
export type Intensity = "light" | "moderate" | "heavy" | "violent";
/**
* Determine the intensity of the given precipitation rate.
*
* @param rateMMpH A precipitation intensity value in millimeters per hour.
* @returns An intensity band for the given value.
* @throws A `RangeError` if `rateMMpH <= 0.0`.
*/
export declare function precipitationIntensityFrom(rateMMpH: number): Intensity;