Skip to content

nand

nand(a, b) → boolean · Type

Logical NAND (NOT AND). Returns true unless both arguments are true.

  • a (required): first boolean

  • b (required): second boolean

utlx
{
  bothTrue: nand(true, true),                // false
  mixed: nand(true, false),                  // true
  bothFalse: nand(false, false)              // true
}

Released under AGPL-3.0.