Type: Function
Function: LENGTH_NOT_EQUAL
Syntax: LENGTH_NOT_EQUAL(list, number)
Description: Returns true if the number of values in the list is different from 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_NOT_EQUAL(list, number) is the same as NOT_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_NOT_EQUAL(label_names, 0)returnstruefor the records with at least one label.
