---
title: skipDescendants()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/filemanager/directoryenumerator/skipdescendants()
---

# skipDescendants()

Causes the receiver to skip recursion into the most recently obtained subdirectory.

## Declaration

```swift
func skipDescendants()
```

## Discussion

Discussion This method is identical to skipDescendents() except for the spelling.

## See Also

### Skipping Subdirectories

- [skipDescendents()](foundation/filemanager/directoryenumerator/skipdescendents().md)
