API
API
Interfaces
GroupStats

GroupStats

그룹 셀들의 통계.

getStats() 호출 시 전달한 옵션에 따라 일부 필드는 채워지지 않는다.

Properties

avg: number (opens in a new tab) readonly

평균. withSum 또는 withSorted 일 때 & count > 0 일 때만 있음.

default: undefined

count: number (opens in a new tab)

셀 개수 (null/NaN 제외)

default: undefined

max: number (opens in a new tab)

최대값. count==0 이면 -Infinity

default: undefined

min: number (opens in a new tab)

최소값. count==0 이면 +Infinity

default: undefined

sorted: Array (opens in a new tab)<number (opens in a new tab)>

내림차순 정렬된 값. withSorted: true 호출에서만 채워진다.

default: undefined

sum: number (opens in a new tab)

합계. withSum 또는 withSorted 일 때만 의미 있음 (그 외엔 0).

default: undefined