.\"return the number of elements in an array or mapping

.DT
sizeof
Discworld driver help
sizeof

Name
.SI 5
sizeof() - return the number of elements in an array or mapping

.EI
Synopsis
.SI 5
int sizeof(mixed var);

.EI
Description
.SP 5 5
Return the number of elements in an array or mapping 'var'.  If `var' is
not an array or a mapping, then '0' is returned.

.EP
See also
.SI 5
allocate(3).
.EI
