Skip to content

Add helpers to the `Matches` type

Administrator requested to merge cc/matches-helpers into main

Created by: camdencheek

We have a type for a collection of matches, and we have a few spots that contain inline logic for things that can be operations on this slice type. This adds Matches.Limit() and Matches.ResultCount() which better encapsulates the logic and simplifies the callsites.

Merge request reports

Loading