Name

ArrayIsEmpty

Synopsis

ArrayIsEmpty(array)

Returns true if the specified array contains no data or false if it does contain data. Example:

<cfif ArrayIsEmpty(Scores)>
     There are no scores available for this game!
<cfelse>
     There are scores available for this game!
</cfif>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.