UNPKG

@trackr/effects-gain

Version:

A subpackage of trackr that contains gain effects.

14 lines (13 loc) 282 B
export class Score { constructor(score, docId, name) { this.score = score; this.docId = docId; this.name = name; } compareTo(other) { if (other.score < this.score) { return -1; } return 1; } }