Scripting reference · Nerdamer Language

not

Returns 1 for a zero argument and 0 for a nonzero argument.

not applies Nerdamer Scripting truthiness to one evaluated expression.

Examples

These examples use Nerdamer Scripting.

Negate a false value.

not(0)
// → 1

Negate a true value.

not(5)
// → 0

Interfaces

The same operation is available through the interfaces below.

Nerdamer Scripting

Nerdamer Scripting

Use this form in Nerdamer Scripting input passed to nerdamer(...).

not(arg1)

← Back to Nerdamer Scripting