---
title: "intersects(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsuserinterfacecompressionoptions/intersects(_:)"
---

# intersects(_:)

Determines whether the supplied compression options intersect with the current instance’s options.

## Declaration

```swift
func intersects(_ options: NSUserInterfaceCompressionOptions) -> Bool
```

## Parameters

- `options`: A compression options object to compare with the current instance.

## Return Value

Return Value Returns true if at least one of the supplied options is present in the instance’s options, or false otherwise.

## See Also

### Comparing compression options

- [isEmpty](appkit/nsuserinterfacecompressionoptions/isempty.md)
- [contains(_:)](appkit/nsuserinterfacecompressionoptions/contains(_:).md)
