UNPKG

rndlib

Version:

Easy to use randomizer functions with TypeScript support

7 lines (6 loc) 140 B
/** * Return a random value from the provided array * * @param arr array<T> */ export declare function arnd<T>(arr: Array<T>): T;