Function arrays_subtract

  • Subtract array B values from array A. Return remaining array A. Expects 2 parameters, each an array. NOTE: first array A must be the main one. Words also appearing in B will be removed

    Returns

    • returns an array of values which appear in A but not B

    Parameters

    • a: any[] = []

      {array} - values we care about. Analyze these, compared to b

    • b: any[] = []

      {array} - for comparison only. Array values unique to B will be ignored

    Returns any[]

Generated using TypeDoc