---
title: "contains(anyOf:)"
framework: spatial
role: symbol
role_heading: Instance Method
path: "spatial/rect3d/contains(anyof:)"
---

# contains(anyOf:)

Returns a Boolean value that indicates whether the rectangle contains any of the specified points.

## Declaration

```swift
func contains(anyOf points: [Point3D]) -> Bool
```

## Parameters

- `points`: The array of points that the function compares against.

## Return Value

Return Value A Boolean value that indicates whether the rectangle contains any of the specified points.

## See Also

### Checking characteristics

- [intersects(_:)](spatial/rect3d/intersects(_:).md)
- [isEmpty](spatial/rect3d/isempty.md)
