JSON expression similar to array.includes

Hi, is there a way to perform something akin to array.includes in a function’s Can Evaluate rule?

Ideally I’m looking for something like:

{ "%%user.custom_data.roles": { "%includes: "admin"}}


Gonna answer myself here, it was just a matter of:

{ "%%user.custom_data.roles":  "admin"}
1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.