---
title: "counter(matching:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/tablesnapshot/counter(matching:)"
---

# counter(matching:)

## Declaration

```swift
func counter(matching id: ScoreCounter.ID) -> ScoreCounter?
```

## See Also

### Getting score counters

- [counters](tabletopkit/tablesnapshot/counters.md)
