Method sizeof()
- Method sizeof
intsizeof(stringarg)
intsizeof(arrayarg)
intsizeof(mappingarg)
intsizeof(multisetarg)
intsizeof(objectarg)- Description
Size query.
- Returns
The result will be as follows:
argcan have any of the following types:stringThe number of characters in
argwill be returned.array|multisetThe number of elements in
argwill be returned.mappingThe number of key-value pairs in
argwill be returned.objectIf
argimplements lfun::_sizeof(), that function will be called. Otherwise the number of non-protected (ie public) symbols inargwill be returned.- See also