2 つの入力リストで共通する値を返します。2 つのリストのいずれかが null の場合、空のリストを返します。
リスト
intersect(<parameters>)
パラメーター | タイプ |
---|---|
リスト 1 | リスト |
リスト 2 | リスト |
intersect(listString,listString)
:listString
intersect(listDecimal,listDecimal)
:listDecimal
intersect(listInteger,listInteger)
:listInteger
intersect(listDateTime,listDateTime)
:listDateTime
intersect(listDateTimeOnly,listDateTimeOnly)
:listDateTimeOnly
intersect(listDateOnly,listDateOnly)
:listDateOnly
intersect(listDuration,listDuration)
:listDuration
intersect(listBoolean,listBoolean)
:listBoolean
リストを返します。
intersect(
["sports", "news", "documentary"],
["sports", "movies", "documentary"]
)
["sports", "news"] を返します。
intersect(
#{ExperienceDataPlatform.profile.interests},
["sports", "news", "documentary"]
)
プロファイル属性と指定されたカテゴリリストの間の共通項目を返します。
intersect(
#{ExperienceDataPlatform.profile.interests},
@{myEvent.sport_interests}
)
プロファイル属性と指定されたイベントフィールドの間の共通項目を返します。