[io.file.exists]

io.file.exists is a slot in the io namespace, in Hyperlambda, the language of Magic Cloud. Returns true if a file exists.

  • Value (file-path), required: File path to test
  • Returns: Returns true if the file exists

Guide: How to use [io.file.exists]

JSON declaration

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

JSON declaration
{
  "name": "io.file.exists",
  "description": "Returns true if a file exists",
  "signature": {
    "input": {
      "kind": "file-path",
      "description": "File path to test",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "boolean",
      "description": "Returns true if the file exists"
    }
  }
}

← io.file.execute all io.* slots io.file.list →