Scripting reference · Nerdamer Language

and

Returns 1 when every argument is nonzero and 0 otherwise.

and uses Nerdamer Scripting truthiness, where zero is false and nonzero expressions are true. Arguments are deferred and evaluation stops at the first false value.

Examples

These examples use Nerdamer Scripting.

All nonzero arguments are true.

and(1,2,3)
// → 1

Stop at a false argument.

and(1,0,3)
// → 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(...).

and(arg1, arg2, ...)

← Back to Nerdamer Scripting