CONTAINS_ANY Operation

How to use the CONTAINS_ANY operation for Computed Attributes

Definition

CONTAINS_ANY determines if any of a set of values is found within another set. This operation is case sensitive.

Example

$LABEL = Beautiful Blue Bicycle

CONTAINS_ANY($LABEL,["Blue","Red"])

Result:
True

Syntax Guide

CONTAINS_ANY(attribute, [value(s)])

attribute - The attribute that is checked to contain all of the given values

value(s) - The data to be verified