setKeys

Returns an iterator over the elements of a set. Use setToArray to get an array.

setKeys(set) → returns any

Member Function Syntax

mySet.keys()

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

Argument Reference

set any
Required

The set.

Links more information about setKeys

Examples
Sample code invoking the setKeys function

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

Fork me on GitHub