distinctCount

計算忽略空值的不同值數。

類別

彙總

函式語法

distinctCount(<listAny>)

參數

參數 類型
清單 listString
清單 listBoolean
清單 listInteger
清單 listDecimal
清單 listDuration
清單 listDateTime
清單 listDateTimeOnly

簽名和傳回的類型

distinctCount(<listAny>)

傳回整數。

範例

distinctCount([10,2,10,null])

返回2。

本頁內容

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now