WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • Datum

  • RollupType

Hierarchy

  • Nest

Index

Methods

entries

  • entries(array: Datum[]): Array<object>
  • Parameters

    • array: Datum[]

    Returns Array<object>

key

  • key(func: function)
  • Parameters

    • func: function
        • (datum: Datum): string
        • Parameters

          • datum: Datum

          Returns string

map

  • map(array: Datum[]): Map<any>
  • Parameters

    • array: Datum[]

    Returns Map<any>

object

  • object(array: Datum[]): object
  • Parameters

    • array: Datum[]

    Returns object

    • [key: string]: any

rollup

  • rollup(func: function)
  • Parameters

    • func: function
        • (values: Datum[]): RollupType
        • Parameters

          • values: Datum[]

          Returns RollupType

sortKeys

  • sortKeys(comparator: function)
  • Parameters

    • comparator: function
        • (a: string, b: string): number
        • Parameters

          • a: string
          • b: string

          Returns number

sortValues

  • sortValues(comparator: function)
  • Parameters

    • comparator: function
        • (a: Datum, b: Datum): number
        • Parameters

          • a: Datum
          • b: Datum

          Returns number

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