countOnlyNull

Last update: 2023-01-23
  • Created for:
  • Experienced
    Developer

Counts the number of null values in the list.

Category

Aggregation

Function syntax

countOnlyNull(<listAny>)

Parameters

Parameter Type
List listString
List listBoolean
List listInteger
List listDecimal
List listDuration
List listDateTime
List listDateTimeOnly
List listDateOnly

Signature and returned type

countOnlyNull(<listAny>)

Returns an integer.

Example

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

Returns 1.

On this page