计算列表的所有元素,包括null值。
聚合
countWithNull(<listAny>)
参数 | 类型 |
---|---|
列表 | listString |
列表 | listBoolean |
列表 | listInteger |
列表 | listDecimal |
列表 | listDuration |
列表 | listDateTime |
列表 | listDateTimeOnly |
列表 | listDateOnly |
countWithNull(<listAny>)
返回一个整数。
countWithNull([10,2,10,null])
返回4。