@ondemos/core
Version:
A cryptographic commitment scheme with implied order of ownership wasm module for nodejs and the browser.
12 lines • 339 B
TypeScript
/**
* @function
* Random slice of an array.
*
* @param array: The array to get random slice from.
* @param elements: Number of elements.
*
* @returns Promise<T[]>
*/
declare const arrayRandomSubset: <T>(array: T[], elements: number) => Promise<T[]>;
export default arrayRandomSubset;
//# sourceMappingURL=arrayRandomSubset.d.ts.map