structGetEntries

Returns an array with one entry for each key/value pair in a struct.

structGetEntries(struct) → returns array

Member Function Syntax

someStruct.entries()

This function requires Adobe ColdFusion 2025.0.8 and up.  Not supported on Lucee, etc.

Argument Reference

struct struct
Required

The struct.

Examples
Sample code invoking the structGetEntries function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub