Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/rmArrDups"

Index

Functions

Functions

rmArrDups

  • rmArrDups(arr: any[]): any[]
  • Get rid of duplicates in array

    Example:

    const a = [1, 1, 1, 2, 2, 3];
    const b = rmArrDups(a);
    console.log(b); // [1, 2, 3];
    

    Parameters

    • arr: any[]

    Returns any[]

Generated using TypeDoc