Function getParentMatchResults

  • Returns a parent match results based on its child games scores.

    Parameters

    • storedParent: Match

      The parent match stored in the database.

    • scores: Scores

      The scores of the match child games.

    Returns Pick<MatchResults, "opponent1" | "opponent2">

Generated using TypeDoc