foxts
Version:
Opinionated collection of common TypeScript utils by @SukkaW
1 lines • 120 B
JavaScript
function n(n){return(t,o)=>Math.floor(n()*(o-t+1))+t}const t=n(Math.random);export{n as createRandomInt,t as randomInt};
Opinionated collection of common TypeScript utils by @SukkaW