<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSProbeResult/name",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSProbeResult(py)name"
  },
  "title" : "name"
}
-->

# name

The resource name, as found during the probe operation.

```
var name: String? { get }
```

## Discussion

This value is non-`nil` unless the [`result`](/documentation/FSKit/FSProbeResult/result) is ``FSMatchResult/notRecognized`.
For formats that lack a name, this value may be an empty string.
This value can also be an empty string if the format supports a name, but the value isn’t set yet.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)