CONTAINS_ANY
Check that at least one search item occurs in a value.
Return Type
Boolean.
Inputs
arg is a required Text, Bytes, List, or Set expression. search is a required List or Set expression.
Syntax and Example
CONTAINS_ANY:
arg:
TEXT: "staging-api"
search:
LIST:
itemType: TEXT
items: ["staging", "api"]
Behavior and Missing Values
For text inputs, search items are substrings; for collections, they are members. Comparison follows Text or Bytes rules. Validate required search data and include empty collections in policy fixtures.