structIsOrdered

Check if a struct is ordered

structIsOrdered() → returns boolean

Member Function Syntax

struct.isOrdered()

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

Argument Reference

struct struct
Required
Default: false

Struct that should be tested whether it is ordered

Examples
Sample code invoking the structIsOrdered function

structNew("ordered").isOrdered()

Expected Result: YES

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

Fork me on GitHub