[or]
or is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Returns true if any child expression evaluates to true.
- Returns: Resolves to true if any operand evaluates to true
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 [or]
JSON declaration
This is the complete declaration of or, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "or",
"description": "Returns true if any child expression evaluates to true",
"signature": {
"children": {
"*": {
"type": "lambda",
"kind": "boolean",
"description": "Executable operand returning a boolean value",
"required": true,
"mode": "ExecutableLambda",
"cardinality": "TwoOrMore",
"role": "Operand",
"evaluation": "EvalSelf",
"projection": "Self"
}
},
"output": {
"mode": "Value",
"kind": "boolean",
"description": "Resolves to true if any operand evaluates to true"
}
}
}
← null |
all core slots | pdf2text → |