int hasValue(string $name)

$name - the name of the variable

Returns 1 if the variable $name has been defined and is not an empty string and is not 0, else the function returns 0.

This function is supported only in CSE HTML Validator v10.0127 and later.

int hasNoValue(string $name)

$name - the name of the variable

Returns 1 if the variable $name has not been defined or is an empty string or is 0, else the function returns 0.

This function is supported only in CSE HTML Validator v10.0127 and later.