Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

extractFieldMap

  • extractFieldMap<T>(arr: T [], fields: PropertyKey[]): Map<string | number | symbol, any []>

提取对象数组为 Map

Type parameters

  • T: object

    数组元素的类型,必须为可提取字段的对象

Parameters

  • arr: T []

    对象数组

  • fields: PropertyKey[]

    提取的字段

Returns Map<string | number | symbol, any []>

提取字段名对应其字段值数组的 Map

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.