Checks if a variable is empty
empty(variable)
→ returns boolean
""{}[]Check whether the variable is empty or not
<cfoutput>
<cfset Language = "Coldfusion">
#empty(Language)#
<cfset MyInput = "">
#empty(MyInput)#
</cfoutput>
Expected Result: false,true
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.