Returns true for numerical attribute value equal to a given value. The equalTo function is used only within the context of the filter or is functions.
In the following expression, the equalTo function returns true when the complex attribute category named cart has two items where the value for the price attribute is equal to 1.25.
count( filter( get("Account.cart"), "price", equalTo(1.25) ) ) == 2