UNPKG

arso-rainfall-intensity

Version:

!!!Only for slovenia!!! Provides simple api for fetching radar images of rainfall intensity and parsing from pixels and converting pixel coordinates to pairs of latitude and longitude or vice versa.

5 lines 163 B
export function assertNotNull<T>(test: T, message: string): asserts test is NonNullable<T> { if (test === null) { throw new Error(message); } }