[get-name]

get-name is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Returns the name of the first matching node.

  • Value (single-object), required: Expression selecting the node whose name should be retrieved
  • Returns: Resolves to the name of the first matching node

Guide: How to use [get-name]

JSON declaration

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

JSON declaration
{
  "name": "get-name",
  "description": "Returns the name of the first matching node",
  "signature": {
    "input": {
      "kind": "single-object",
      "description": "Expression selecting the node whose name should be retrieved",
      "required": true,
      "mode": "Expression"
    },
    "output": {
      "mode": "Value",
      "kind": "node-name,text",
      "description": "Resolves to the name of the first matching node"
    }
  }
}

← get-first-value all core slots get-nodes →