UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

10 lines 455 B
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