@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
20 lines • 490 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
export class Comparators {
constructor() {
// Utility class
throw new Error('Cannot instantiate utility class');
}
static number = (l, r) => {
if (l < r) {
return -1;
}
else if (l > r) {
return 1;
}
return 0;
};
static configSource = (l, r) => {
return Comparators.number(l.ordinal, r.ordinal);
};
}
//# sourceMappingURL=comparators.js.map