Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils"

Index

Functions

Const copy

  • copy(x: any, ctor: Function): any
  • Parameters

    • x: any
    • ctor: Function

    Returns any

Const empty

  • empty(x: any, ctor: Function): any
  • Parameters

    • x: any
    • ctor: Function

    Returns any

Const ensureMap

  • ensureMap<K, V>(x: Iterable<Pair<K, V>>): Map<K, V>
  • Type parameters

    • K

    • V

    Parameters

    • x: Iterable<Pair<K, V>>

    Returns Map<K, V>

Const ensureSet

  • ensureSet<T>(x: Iterable<T>): Set<T>
  • Type parameters

    • T

    Parameters

    • x: Iterable<T>

    Returns Set<T>

Const first

  • first<T>(x: Iterable<T>): T
  • Type parameters

    • T

    Parameters

    • x: Iterable<T>

    Returns T

Const objValues

  • objValues(src: any): any[]
  • Parameters

    • src: any

    Returns any[]

Generated using TypeDoc