Type: Function
Function: LENGTH_EQUAL
Syntax: LENGTH_EQUAL(list, number)
Description: Returns true if the number of values in the list is equal to the number.
The list is a field holding several values, such as label_names or assignee_usernames. Its number of values is the one LENGTH returns.
LENGTH_EQUAL(list, number) is the same as EQUAL(ARRAY_LENGTH(list), number).
It is the same condition as the length = 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:
LENGTH_EQUAL(label_names, 0)returnstruefor the records with no label.
