addHit Method
Add a new hit to the list. Hits are sorted according to their priority and distance.
addHit(newHit: T): number
| Parameter | Type | Description | 
|---|---|---|
| newHit | T | 
Returns - number
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.