---
title: "definitionsMatching(input:)"
framework: Compute Graph
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "computegraph/computenodegraph/library/definitionsmatching(input:)"
---

# definitionsMatching(input:)

Returns all definitions that have at least one input matching the given value type.

## Declaration

```swift
final func definitionsMatching(input type: ComputeNodeGraph.ValueType) -> [ComputeNodeGraph.NodeDefinition]
```
