Type: Function
Function: INCLUDE_EXACTLY
Syntax: INCLUDE_EXACTLY(list, values)
Description: Returns true if the list contains exactly the values, in any order: all of them, and nothing else.
INCLUDE_EXACTLY is another name for CONTAINS_EXACTLY: both names can be used.
It is the same condition as the contains exactly filter of the insight designer (see Using filters). Use it in a custom formula, to count, group or label records on that condition, or as a filter in a query sent through the Keypup API or MCP server.
Sample usage:
INCLUDE_EXACTLY(label_names, ["bug", "urgent"])returnstruefor the records whose labels are "bug" and "urgent", and no other.
