Pure function to shuffle an array in Typescript using fp-ts
Sandro Maglione
Get in touch with meWeb development
16 January 2022
•1 min read
Sandro Maglione
Web development
This is a pure function (without side-effects) that allows you to shuffle a given array in Typescript. The code uses fp-ts
for the IO
type.