Please add structValueArray function

I had a need to convert a struct to an array today. This function, and a member function struct.valueArray(), would have been really handy.

structSort() returns an array, but I don’t want it sorted… I used a struct to generate 5 random images and would prefer as random as possible. I did what I needed manually, but it wasn’t as elegant as Lucee normally is.

File a bug, add the acf-compat label

The other side has been implemented on Lucee

https://cfdocs.org/structkeyarray

1 Like

https://luceeserver.atlassian.net/browse/LDEV-2686

FYI: Function structValueArray() (and its complementary member function struct.valueArray()) was added in Lucee 5.3.8.117

3 Likes