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: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.