UNPKG

pure-fun

Version:

A collection of pure functions/helpers with 0 dependencies

7 lines (6 loc) 222 B
/** * Returns a random section from the input array. * Not passing 2nd argument: `limit` will return the original array */ declare const randomize: (arr: any[], limit?: number) => any[]; export default randomize;