Skip to content
BSFishy edited this page Feb 25, 2020 · 1 revision

Negate the value of a condition. This is basically just a cleaner and more expressive way of writing !Condition.

The condition passed as a parameter doesn't need to be from another utility macro. It basically just returns the not operator with the condition appended to the end.

Arguments:

  • Condition: The condition to negate.

Example:

Assert(Not(1 == 0));    // Passes
Assert(Not(1 == 1));    // Fails

Assert(Not(EQ(1, 0)));  // Passes
Assert(Not(EQ(1, 1)));  // Fails

Macros:

Clone this wiki locally