UNPKG

lotto-draw

Version:

A simple tool used to pick random elements from a mutable collection of weighted participants

13 lines (12 loc) 463 B
/** * Gets whether the value provided is null or undefined. * @param value The value to check. * @returns Whether the value provided is null or undefined. */ export declare function isNullOrUndefined(value: any): boolean; /** * Gets whether the value provided is a natural number. * @param value The value to check. * @returns Whether the value provided is a natural number. */ export declare function isNaturalNumber(value: number): boolean;