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, OpenBD, etc.

structIsOrdered 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


Fork me on GitHub