---
title: isFileURL
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/url/isfileurl
---

# isFileURL

A Boolean that is true if the scheme is file:.

## Declaration

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

## See Also

### Working with file URLs

- [hasDirectoryPath](foundation/url/hasdirectorypath.md)
- [withUnsafeFileSystemRepresentation(_:)](foundation/url/withunsafefilesystemrepresentation(_:).md)
- [resolveSymlinksInPath()](foundation/url/resolvesymlinksinpath().md)
- [resolvingSymlinksInPath()](foundation/url/resolvingsymlinksinpath().md)
- [standardize()](foundation/url/standardize().md)
