Method indices()
- Method
indices
arrayindices(string|array|mapping|multiset|objectx)- Description
Return an array of all valid indices for the value
x.- Parameter
x stringFor strings and arrays this is simply an array of ascending numbers.
mappingFor mappings and multisets, the array might contain any value.
objectFor objects which define lfun::_indices() that return value is used.
For other objects an array with the names of all non-protected symbols is returned.
- See also