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.

https://cfdocs.org/structvaluearray

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