Javascript utility libraries underscore and lodash both have the nice short syntax _.has(object, “key”) which is shorter than StructKeyExists or struct.keyExists() or javascript’s verbose hasOwnProperty()
struct.has(string|list|array|struct,delimiters)
Could we add struct.has(string|array|struct, delimiters) to Lucee? not just an alias for keyExists but with
the extra option of checking for the presence of multiple keys. i.e, either from a list, an array or does this struct contain call the keys of this other struct?
(this forum software is a bit pedantic about titles being a “proper sentence”, I wanted to include the code sample in the title, but it wouldn’t let me post)