"util" | typescript
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

debug

  • debug(string: string): void
  • Parameters

    • string: string

    Returns void

debuglog

  • debuglog(key: string): function
  • Parameters

    • key: string

    Returns function

      • (msg: string, ...param: any[]): void
      • Parameters

        • msg: string
        • Rest ...param: any[]

        Returns void

deprecate

  • deprecate<T>(fn: T, message: string): T
  • Type parameters

    • T: Function

    Parameters

    • fn: T
    • message: string

    Returns T

error

  • error(...param: any[]): void
  • Parameters

    • Rest ...param: any[]

    Returns void

format

  • format(format: any, ...param: any[]): string
  • Parameters

    • format: any
    • Rest ...param: any[]

    Returns string

inherits

  • inherits(constructor: any, superConstructor: any): void
  • Parameters

    • constructor: any
    • superConstructor: any

    Returns void

inspect

  • inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string
  • inspect(object: any, options: InspectOptions): string
  • Parameters

    • object: any
    • Optional showHidden: boolean
    • Optional depth: number | null
    • Optional color: boolean

    Returns string

  • Parameters

    Returns string

isArray

  • isArray(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isBoolean

  • isBoolean(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isBuffer

  • isBuffer(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isDate

  • isDate(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isError

  • isError(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isFunction

  • isFunction(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isNull

  • isNull(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isNullOrUndefined

  • isNullOrUndefined(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isNumber

  • isNumber(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isObject

  • isObject(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isPrimitive

  • isPrimitive(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isRegExp

  • isRegExp(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isString

  • isString(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isSymbol

  • isSymbol(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

isUndefined

  • isUndefined(object: any): boolean
  • Parameters

    • object: any

    Returns boolean

log

  • log(string: string): void
  • Parameters

    • string: string

    Returns void

print

  • print(...param: any[]): void
  • Parameters

    • Rest ...param: any[]

    Returns void

puts

  • puts(...param: any[]): void
  • Parameters

    • Rest ...param: any[]

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc