synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
10 lines • 455 B
TypeScript
import { EvaluationRound } from '@sage-bionetworks/synapse-client';
/**
* Given a list of evaluation rounds:
* - If there is a current round, return it
* - Else if there is one or more upcoming rounds, return the soonest
* - Else return the most recent round in the past
* @param rounds
*/
export declare function getCurrentOrNextOrLatestRound(rounds: EvaluationRound[]): EvaluationRound | undefined;
//# sourceMappingURL=EvaluationUtils.d.ts.map