[lte]

lte is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Returns true if the first operand is less than or equal to the second operand.

  • Returns: Resolves to true if the first operand is less than or equal to the second operand

Arguments

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

Argument Type Required Description
any node name object yes Operand evaluated before comparison.

Guide: How to use [lte]

JSON declaration

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

JSON declaration
{
  "name": "lte",
  "description": "Returns true if the first operand is less than or equal to the second operand",
  "signature": {
    "children": {
      "*": {
        "type": "object",
        "description": "Operand evaluated before comparison",
        "required": true,
        "mode": "ExecutableLambda",
        "cardinality": "ExactlyTwo",
        "role": "OperandPaired",
        "evaluation": "EvalSelf",
        "projection": "Value"
      }
    },
    "output": {
      "mode": "Value",
      "kind": "boolean",
      "description": "Resolves to true if the first operand is less than or equal to the second operand"
    }
  }
}

← lt all core slots map →