typescript-dotnet-core
Version:
A the core classes and utilities of a JavaScript-Friendly .NET Based TypeScript Library.
11 lines (10 loc) • 394 B
TypeScript
/*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT https://github.com/electricessence/TypeScript.NET-Core/blob/master/LICENSE.md
*/
import ArrayLikeWritable from "./ArrayLikeWritable";
/**
* Randomize array element order in-place.
* Using Durstenfeld shuffle algorithm.
*/
export declare function shuffle<T extends ArrayLikeWritable<any>>(target: T): T;