Whatever message this page gives is out now! Go check it out!

StructIsCaseSensitive

Last update:
May 18, 2026

Description

Determines whether a struct is case-sensitive.

Returns

Boolean

Category

History

ColdFusion (2021 release): Added this function.

Syntax

StructIsCaseSensitive(struct inputStruct)

Parameters

Parameter
Description
inputStruct
(Required) The struct that needs to be checked for case sensitivity.

Example

<cfscript> 
    cloudVendors=StructNew("casesensitive") 
    cloudVendors.Azure="Microsoft" 
    cloudVendors.Aws= "Amazon" 
    cloudVendors.ACC = "Adobe" 
    cloudVendors.Gce= "Google" 
    cloudVendors.OCP = "Oracle" 
    writeOutput(StructIsCaseSensitive(cloudVendors)); // should output YES 
    writeOutput(cloudVendors.isCaseSensitive()); // should output YES 
</cfscript>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page