map->size
Returns map size.
Target
Signature
1map->size()Returns map size.
map->size is called with member syntax on a receiver value. map->size is useful when moving through groups of values. Prefer collection operations that match the shape of the data rather than converting everything to strings.
Examples
Basic call
1map('name'='Ada')->sizeThe example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.