Skip to main content Skip to complementary content

size

Last updated: 9/7/2026
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.

Arguments

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 – please let us know!