setToArray

Converts a set to an array. Ordered sets keep insertion order.

setToArray(set) → returns array

Member Function Syntax

mySet.toArray()

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 setToArray

Examples
Sample code invoking the setToArray function

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

Fork me on GitHub