---
title: isLexicallyNormal
framework: system
role: symbol
role_heading: Instance Property
path: system/filepath/islexicallynormal
---

# isLexicallyNormal

Whether the path is in lexical-normal form, that is . and .. components have been collapsed lexically (i.e. without following symlinks).

## Declaration

```swift
var isLexicallyNormal: Bool { get }
```

## Discussion

Discussion Examples: "/usr/local/bin".isLexicallyNormal == true "../local/bin".isLexicallyNormal   == true "local/bin/..".isLexicallyNormal   == false
