Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "src/utils/lang"

Index

Functions

assertNever

  • assertNever(arg: never): void

functionString

  • functionString(fn: Function): string

getMember

  • getMember<T>(clazz: Function, property: string, defaultValue: T): T
  • getMember<T>(clazz: Function, property: string): T | undefined
  • Type parameters

    • T

    Parameters

    • clazz: Function
    • property: string
    • defaultValue: T

    Returns T

  • Type parameters

    • T

    Parameters

    • clazz: Function
    • property: string

    Returns T | undefined

isValidIdentifier

  • isValidIdentifier(str: string): boolean

Generated using TypeDoc