---
title: isRegularFile
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/filewrapper/isregularfile
---

# isRegularFile

This property contains a boolean value that indicates whether the file wrapper object is a regular-file.

## Declaration

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

## Discussion

Discussion This property contains true when the file wrapper object is a regular-file wrapper, otherwise it contains false. Invocations of read(from:options:) may change the value of this property if the type of the file on disk has changed.

## See Also

### Querying File Wrappers

- [isDirectory](foundation/filewrapper/isdirectory.md)
- [isSymbolicLink](foundation/filewrapper/issymboliclink.md)
