import { randomSlice } from '@daffodil/core'
Returns a random slice of an array. An optional length may be specified.
const randomSlice: __function