{"code":"/**\r\n * Returns a random item from the input array\r\n */\r\nconst pickRandom = (arr) => arr[Math.floor(Math.random() * arr.length)];\r\nexport default pickRandom;\r\n//# sourceMappingURL=index.js.map","map":"{\"version\":3,\"file\":\"index.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../../src/arrays/pickRandom/index.ts\"],\"names\":[],\"mappings\":\"AAAA;;GAEG;AACH,MAAM,UAAU,GAAG,CAAC,GAAU,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/E,eAAe,UAAU,CAAC\"}","dts":{"name":"/Users/thibault/Development/pure-fun/arrays/pickRandom/index.d.ts","writeByteOrderMark":false,"text":"/**\r\n * Returns a random item from the input array\r\n */\r\ndeclare const pickRandom: (arr: any[]) => any;\r\nexport default pickRandom;\r\n"}}
