Docly Developers
Function Updated 17 Oct 2026

areNotEqual(value1, value2)

Checks that two values are not equal. The exact opposite of areEqual: the same .NET comparison is used, so areNotEqual(null, null) is false.

Parameters

value1objectrequired

Value to compare with value2.

value2objectrequired

Value to compare with value1.

Returns

true if not equal, false if equal. Also false if not called with exactly two arguments.

Example

Mixed HTML (or any text file) with inline JavaScript between hash signs.
#docly.areNotEqual("test", "asdf")#