Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BoxrecCommonTablesColumnsClass

Used to parse common columns

Hierarchy

  • BoxrecCommonTablesColumnsClass

Index

Methods

Static parseDivision

  • Current and hopefully future proofing the name of the division to keep consistent the value can be missing

    Parameters

    • htmlString: string

      a (possibly) shortened version of weight divisions ex. light heavyweight -> light heavy

    Returns WeightDivision | null

    the weight division as a WeightDivision value otherwise we return the found value

Static parseId

  • parseId(htmlString: string): number | null

Static parseLast6Column

Static parseName

  • parseName(htmlString: string): string

Static parseRating

  • parseRating(htmlString: string): number | null

Static parseRecord

  • parseRecord(htmlString: string): Record

Generated using TypeDoc