Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

filterItems

  • filterItems<T, K>(arr: T [], deleteItems: T [], k?: ArrayKFn<T, K>): T []

从数组中移除指定的元素 注: 时间复杂度为 1~3On

Type parameters

  • T
  • K

Parameters

  • arr: T []

    需要被过滤的数组

  • deleteItems: T []

    要过滤的元素数组

  • k: ArrayKFn<T, K> = returnItself Default value

    每个元素的唯一键函数

Returns T []

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