Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

zip

  • zip<T, R>(arr1: T [], arr2: T [], operation?: function): R []

压缩两个数组为一个数组

Type parameters

  • T
  • R

Parameters

  • arr1: T []
  • arr2: T []
  • operation: function = (x, y) => [x, y] as any Default value
      • (v1: T, v2: T, index: number): R
      • Parameters

        • v1: T
        • v2: T
        • index: number

        Returns R

Returns R []

  • 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.