Parameter
Determines whether a struct is case-sensitive.
Boolean
ColdFusion (2021 release): Added this function.
StructIsCaseSensitive(struct inputStruct)
Parameter |
Description |
---|---|
inputStruct |
(Required) The struct that needs to be checked for case sensitivity. |
<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>
Sign in to your account