The jcs:empty() function returns true if a nodeset or string argument is empty.
The function syntax is as follows:
jcs:empty($set);
Where $set is the nodeset or string to test.
The following example shows how the jcs:empty() function can be used:
if (jcs:empty($set)); {
/* Code to handle true value ($set is empty) */
}