fruit-company
Version:
Apple services library
12 lines (11 loc) • 334 B
TypeScript
/**
* The risk category of a measurement such as UV index.
*/
export type Risk = "low" | "moderate" | "high" | "veryHigh" | "extreme";
/**
* Determine the risk a given UV Index poses to the average person.
*
* @param uvIndex The UV Index.
* @returns The risk.
*/
export declare function uvIndexRiskFrom(uvIndex: number): Risk;