StructIsCaseSensitive

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>

 Adobe

Dapatkan bantuan lebih cepat dan lebih mudah

Pengguna baru?

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online