[not-null]
not-null is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Returns true if the specified node or expression is not null.
- Value (
node-list,single-object), required: Expression selecting the value to test for null - Returns: Returns true if the expression resolves to a non-null value
Guide: How to use [not-null]
JSON declaration
This is the complete declaration of not-null, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "not-null",
"description": "Returns true if the specified node or expression is not null",
"signature": {
"input": {
"kind": "node-list,single-object",
"description": "Expression selecting the value to test for null",
"required": true,
"mode": "Expression"
},
"output": {
"mode": "Value",
"kind": "boolean",
"description": "Returns true if the expression resolves to a non-null value"
}
}
}
← not-exists |
all core slots | null → |