google / jsonnet

Jsonnet - The data templating language
http://jsonnet.org
Apache License 2.0
6.92k stars 438 forks source link

feat: implement std.contains #1078

Closed rohitjangid closed 1 year ago

rohitjangid commented 1 year ago

Implement std.contains function in standard library

go-jsonnet PR: https://github.com/google/go-jsonnet/pull/691

CertainLach commented 1 year ago

Isn't it the same thing as std.member?

sparkprime commented 1 year ago

Hmm, yes it is. I had it in my head that member was for sets but the documentation says otherwise!