compressAdjacentDuplicates Method

  • compress out multiple copies of values.
  • this is done in the current order of the array.

compressAdjacentDuplicates(tolerance: number = 0): void

Parameter Type Description
tolerance number  

Defined in

Last Updated: 08 January, 2020