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

Decision functions

Last update:
May 18, 2026
Function Description
DirectoryExistsDetermines whether a directory exists.
FileExistsDetermines whether a file exists.
FileIsEOFDetermines whether ColdFusion has reached the end of a file while reading the file.
IIfEvaluates a Boolean conditional dynamic expression.
IsArrayDetermines whether a value is an array.
IsBinaryDetermines whether a value is stored as binary data.
IsBooleanReturns true when a value is converted to Boolean.
IsClosureChecks if an object is a closure.
IsCustomFunctionDetermines whether an object is a custom function.
IsDateDetermines whether a string or object can be converted to a date/time value.
IsDateObjectDetermines whether a value is a date/time object.
IsDDXDetermines whether a DDX file exists or if a string contains DDX instructions.
IsDebugModeDetermines whether debugging output is enabled.
IsDefinedEvaluates a string value to determine if the value named in the string exists.
isFileObjectDetermines whether a value is a file object.
IsInstanceOfDetermines if an object is an instance of a ColdFusion component or interface.
isIPv6Determines whether the host supports IPv6.
IsJSONEvaluates if a string is in a valid JSON format.
isLocalHostDetermines if the specified IP address is the localhost. Supports both IPv4 and IPv6 addresses.
IsK2ServerABrokerDeprecated Function
IsK2ServerDocCountExceededDeprecated Function
IsK2ServerOnlineDeprecated Function
IsLeapYearDetermines whether a year is a leap year.
IsNullReturns true if an object is null.
IsNumericReturns true if a string is converted to a numeric value.
IsNumericDateReturns true if a real number is a representation of a date/time object.
IsObjectDetermines if a value is an object.
IsPDFArchiveDetermines if a PDF document is archived or not.
IsPDFFileDetermines if a PDF file is valid.
IsPDFObjectDetermines if a value is a PDF object.
IsQueryDetermines if a value is a query.
IsSimpleValueDetermines the type of a value.
IsStructDetermines if a variable is a structure.
IsUserInAnyRoleDetermines if an authenticated user belongs to a role in a list of roles.
IsValidDetermines if a value satisfies a validation or data type rule.
IsWDDXDetermines if a value is a well-formed WDDX packet.
IsXMLDetermines if a string is a well-formed XML text.
IsXmlAttributeDetermines if a function parameter is an XML DOM attribute node.
IsXmlDocDetermines if a function parameter is a ColdFusion XML document object.
IsXmlElemDetermines if a function parameter is a an XML document object element.
IsXmlNodeDetermines if a function parameter is an XML document object node.
IsXmlRootDetermines if a function parameter is the root element of an XML document object.
LSIsCurrencyDetermines if a string is a valid representation of a currency amount in the current locale.
LSIsDateDetermines if a string is a valid representation of a date/time value in the current locale.
LSIsNumericDetermines if a string is a valid representation of a number in the current locale.
StructIsEmptyDetermines if a structure contains values.
StructKeyExistsDetermines if a key is present in a structure.

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