Skip to content

Commit 4238f37

Browse files
committed
feat(shuffle): deprecate shuffle function
1 parent 2f9c825 commit 4238f37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,6 +1392,7 @@ export function uniqueAdjacentByHashFn<T>(
13921392
return array => uniqueAdjacentByHash(array, hash);
13931393
}
13941394

1395+
/** @deprecated Use [array-shuffle](https://npmjs.com/array-shuffle) instead. */
13951396
export function shuffle<T>(array: ArrayLike<T>): T[] {
13961397
const result = copy(array);
13971398
for (let i = 0; i < array.length; ++i) {

0 commit comments

Comments
 (0)