zed icon indicating copy to clipboard operation
zed copied to clipboard

path function

Open mccanne opened this issue 2 years ago • 0 comments

A function call path shall take an l-value expression and return the encoded path as an array of elements. e.g.,

path(a.b[2].c)

returns

["a", "b", 2, "c"]

This should handle generic map keys as well.

mccanne avatar Nov 29 '23 21:11 mccanne