Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @kcutils/random

Index

Type aliases

SeedFn: () => number

Type declaration

    • (): number
    • Returns number

SeedGenerator: (input: string) => SeedFn

Type declaration

    • Parameters

      • input: string

      Returns SeedFn

SeedPatch: (n: number) => number

Type declaration

    • (n: number): number
    • Parameters

      • n: number

      Returns number

Variables

Randoms: { Alea: typeof Alea; Xoshiro128PP: typeof Xoshiro128PP; Xoshiro128SS: typeof Xoshiro128SS } = ...

Type declaration

  • Alea: typeof Alea
  • Xoshiro128PP: typeof Xoshiro128PP
  • Xoshiro128SS: typeof Xoshiro128SS
Seeds: { Fixed: typeof Fixed; Timestamp: typeof Timestamp; Xfnv1a: typeof Xfnv1a; Xmur3: typeof Xmur3 } = ...

Type declaration

  • Fixed: typeof Fixed
  • Timestamp: typeof Timestamp
  • Xfnv1a: typeof Xfnv1a
  • Xmur3: typeof Xmur3
englishLowerAlphabetCharacter: string[] = ...

english alphabet in lower case

englishUpperAlphabetCharacter: string[] = ...

english alphabet in upper case

numberCharacter: string[] = ...

number character

Generated using TypeDoc