Code: Select all
value := array[ path* ]
What I'm asking for is that .hasKey( key ) should reflect this change.
What I'm asking for is that every path that you can put inside the [ ] after an array the same path input in the same way into .hasKey should produce a result:
Code: Select all
arr[] : arr.hasKey()
arr[key] : arr.hasKey(key)
arr[x,y] : arr.hasKey(x,y)
arr[path*] : arr.hasKey(path*)
I do already know several solutions to this that you need to use depending on the occasion.