areNotEqual(value1, value2) Last updated: 16. May 2026
Checks that two values are not equal.
Parameters
| Name | Type | Description |
|---|---|---|
| value1 | object | Value to compare with value2 |
| value2 | object | Value to compare with value1 |
Returns
True if not equal, false if equal.
Example
Code example (#JS)
#JS is mixed HTML (or other text file) with inline JavaScript with # starting and ending each inline statement.#docly.areNotEqual("test", "asdf")# Output
The #JS code above produces the output shown below:true Code example (JS)
JS is normal JavaScript either running in the browser or on the Docly™ server.write(docly.areNotEqual("abc", "abc"));
write("\n");
write(docly.areNotEqual(1, 2));
/* Expected output:
false
true
*/ Output
The JS code above produces the output shown below:false
true