---
title: "containsEdge(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "realitykit/shadergraph/containsedge(_:)"
---

# containsEdge(_:)

Returns whether the graph contains an edge equal to the given edge.

## Declaration

```swift
final func containsEdge(_ edge: ShaderGraph.Edge) -> Bool
```
