<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "System",
  "identifier" : "/documentation/System/Stat/Flags-swift.struct/symlinkNoFollowAny",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "System"
    ],
    "preciseIdentifier" : "s:6System4StatV5FlagsV18symlinkNoFollowAnyAEvpZ"
  },
  "title" : "symlinkNoFollowAny"
}
-->

# symlinkNoFollowAny

If the path ends with a symbolic link, return information about the link itself.
If *any* symbolic link is encountered during path resolution, return an error.

```
static var symlinkNoFollowAny: Stat.Flags { get }
```

## Discussion

The corresponding C constant is `AT_SYMLINK_NOFOLLOW_ANY`.

> Note: Only available on Darwin.

---

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)