arraySwap

Overview ColdFusion Open BlueDragon Lucee

Swaps array values of an array at specified positions. This function is more efficient than multiple cfset tags

Attributes

Name Required Type Default Description
array Yes Array
position1 Yes Numeric
position2 Yes Numeric