我正在遵循谷歌通用表达式语言规范,如果我能做这样的事情,有人可以指导我:
我需要使用 google CEL 编写一个表达式来查找“345”是否在 phone_numbers 列表中。
json : {"phone_numbers": ["123","234","345"] }
example : phone_numbers.exist_one("345"); // this does not works ....
https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions