setCount

Returns the number of elements in a set.

setCount(set) → returns numeric

Member Function Syntax

mySet.count()

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

Argument Reference

set any
Required

The set.

Compatibility

ColdFusion:

Version 2025.0.8+ Listed by getFunctionList() in ColdFusion 2025+. No official documentation exists.

Links more information about setCount

Examples
Sample code invoking the setCount function

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

Fork me on GitHub