I have an array of items matchingItemsCurrentRow
. It has items of type IBwFormSectionItem
which has a property runCount
. I want to get an array item which has the maximum runCount
value. How can I get it?
The type definition of IBwFormSectionItem
is given below:
export interface IBwFormSectionItem {
meta?: IBwFormItemMetadata[],
font?: IBwFormFont,
col?: number,
row?: number,
colSpan?: number,
rowSpan?: number,
text?: string,
runs?: boolean,
runCount?: number,
height?: number,
width?: number
}