返回两个输入列表中的公共值。 如果两个列表之一为空,则返回空列表。
列表
intersect(<parameters>)
参数 | 类型 |
---|---|
列表1 | list |
列表2 | list |
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}
)
返回用户档案属性和给定事件字段之间的常用项目。