[not]

not is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Negates a boolean expression.

  • Returns: Resolves to true if the operand evaluates to false

Arguments

Required arguments come first, then the optional ones in the order they are declared.

Argument Type Required Description
any node name lambda yes Executable operand returning a boolean value.

Guide: How to use [not]

JSON declaration

This is the complete declaration of not, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "not",
  "description": "Negates a boolean expression",
  "signature": {
    "children": {
      "*": {
        "type": "lambda",
        "kind": "boolean",
        "description": "Executable operand returning a boolean value",
        "required": true,
        "mode": "ExecutableLambda",
        "cardinality": "ExactlyOne",
        "role": "Operand",
        "evaluation": "EvalSelf",
        "projection": "Self"
      }
    },
    "output": {
      "mode": "Value",
      "kind": "boolean",
      "description": "Resolves to true if the operand evaluates to false"
    }
  }
}

← neq all core slots not-exists →