Options
All
  • Public
  • Public/Protected
  • All
Menu

Module ts/utils

Index

Variables

definedFlags

definedFlags: EFlag[] = ...

destructors

destructors: (() => void)[] = []

inputBinds

inputBinds: Dict<() => void> = {}

Functions

addInputBinds

  • addInputBinds(binds: Dict<() => void>): void

chopStr

  • chopStr(str: string, sep: string, trim?: boolean, last?: boolean): [string, string | null]
  • Parameters

    • str: string
    • sep: string
    • trim: boolean = true
    • last: boolean = false

    Returns [string, string | null]

sleep

  • sleep(timeout: number): Promise<void>

Generated using TypeDoc