Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/getDups"

Index

Functions

Functions

getDups

  • getDups(arr1: any[], arr2: any[]): any[]
  • Get the duplicate items of two arrays

    Examples:

    let a = [1, 2, 3];
    let b = [1];
    let c = getDubs(a, b);
    console.log(c); // [1];
    

    Parameters

    • arr1: any[]
    • arr2: any[]

    Returns any[]

Generated using TypeDoc