メインコンテンツまでスキップ
バージョン:25.2

excludeItems

  • function

  • new in 1.62

  • Returns the items of a list that aren’t found in another list.

  • Usually called using natural language syntax, such as: +

             get the items of foo that aren't shared in common with bar
    get values in foo excluding those in bar
    get the items of accountList that are not found in blackList
  • Can also be called as a function: excludeItems(sourceList, exclusionList)

  • Related: intersection, union, uniqueItems