Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Util"

Index

Classes

Functions

Functions

Rand

  • Rand(length: number, string: false): Buffer
  • Rand(length: number, string: true): string
  • Parameters

    • length: number

      Length of the generated string

    • string: false

      Whether to return a string or bytes

    Returns Buffer

    The random string or buffer

  • Parameters

    • length: number
    • string: true

    Returns string

Generated using TypeDoc