@types/seededshuffle
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

Installation

npm install --save @types/seededshuffle

Summary

This package contains type definitions for seededshuffle (https://github.com/LouisT/SeededShuffle).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/seededshuffle.

index.d.ts

export const seed: number;
export const strSeed: string;

export function shuffle<T>(arr: T[], seed: string | number): T[];
export function shuffle<T>(arr: readonly T[], seed: string | number, copy: true): T[];

export function unshuffle<T>(arr: T[], seed: string | number): T[];
export function unshuffle<T>(arr: readonly T[], seed: string | number, copy: true): T[];

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: none

Credits

These definitions were written by Uri Shaked.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/seededshuffle

Weekly Downloads

611

Version

0.2.4

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • types