Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReplaceByMapOptions<T>

Replace by Item Matcher Map Options Interface

template

T typeof the items of the array

Type parameters

  • T

Hierarchy

  • ReplaceByMapOptions

Index

Properties

Properties

itemsToReplace

itemsToReplace: Map<T, T>

Items' Matcher Map to replace

Optional multi

multi: boolean

Set as true to replace all items in the array if matches with the key of the matcher map while iterating

default

false

Generated using TypeDoc