Function: CONTAINS_EXACTLY
Syntax: CONTAINS_EXACTLY(list, term|term_list)
Description: Returns true
if the list contains ALL and ONLY the provided values (order-insensitive equality).
Sample usage:
CONTAINS_EXACTLY(label_names, "bug")
returns true iflabel_names
only contains thebug
label.CONTAINS_EXACTLY(label_names, ["bug", "enhancement"])
returnstrue
iflabel_names
contains onlybug
andenhancement
.CONTAINS_EXACTLY(assignee_usernames, ["john", "jenny"])
returnstrue
if the list of assignees only containsjohn
andjenny
, otherwise it returnsfalse
.CONTAINS_EXACTLY(["enhancement", "bug"], ["bug"])
returnsfalse
because the first array is not exactly the same as the second one.CONTAINS_EXACTLY(["enhancement", "bug"], ["bug", "enhancement"])
returnstrue
because the comparison is order-insensitive.