Method indices()
- Method indices
array
indices(string
|array
|mapping
|multiset
|object
x
)- Description
Return an array of all valid indices for the value
x
.- Parameter
x
string
For strings and arrays this is simply an array of ascending numbers.
mapping
For mappings and multisets, the array might contain any value.
object
For 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