The ClubRecord<T extends SystemClubIDType | MainClubIDType>() class encapsulate any object with DataType value and provides utility method.
Protected contentPrivate Readonly defaultThe filter() method filters records' key, value, which the matching function returned true.
Matching function matches records' under provided condition.
The findValues() method finds records' value, which the matching function returned true.
Matching function matches records' value under provided condition.
The groupBy() method groups records by located values using keyLocator.
Key locator function finds the value that will be an object key.
The iterate() method iterates through record's key and value.
Function that is called for every element of arr. Each time callbackFn executes.
The iterateSync() method synchronously iterates through record's key and value.
Function that is called for every element of arr. Each time callbackFn executes.
The map() method creates a new array populated with the results of calling a provided function on every element in the calling array.
Function that is called for every element of arr. Each time callbackFn executes, the returned value is added to newArray.
The sort() method sorts the elements of an array in place and returns the sorted array. The default sort order is ascending, built upon converting the elements into strings, then comparing their sequences of UTF-16 code units values.
Specifies a function that defines the sort order. If omitted, the array elements are converted to strings, then sorted according to each character's Unicode code point value.
The transformToMainClubs() method transforms ClubRecord with SystemClubID indexes to new ClubRecord with MainClubID indexes by merging its properties using mergeFunc.
Merge function controls how an existed object will be merged. Look defaultMergeFunc for example.
Generated using TypeDoc
The ClubRecord<T extends SystemClubIDType | MainClubIDType>() class encapsulate any object with DataType value and provides utility method.