Skip to main content Skip to complementary content


Returns the number of items in the argument.

If the argument is an array, the function returns the number of items in the array; otherwise it returns 1 if the item is not null and 0 if it is null.


Element to check.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!