Closed Cicko closed 4 years ago
I guess is not working because contains is an Array method part of the core library which doesn't work in Javascript. As workaround I solved it by transforming it into a matches expression:
`classification matches '^PHONE$ | ^EMPLOYMENT_PHONE$ | ^WORK_PHONE$'`
@Cicko, good catch, this should be a quick fix.
@Cicko, this was actually an issue with how arguments are evaluated, which is why you were getting the "classification does not exist" error. However, contains
was also not implemented, so I went ahead and did that. This is fixed in 0.2.7.
When I am trying to evaluate the following expression:
Error is threw:![image](https://user-images.githubusercontent.com/16807198/66563290-c7517100-eb5d-11e9-8140-dc1e89ed508c.png)
It looks that the contains method is not supported
Here I leave all data needed to reproduce it: