Method values()
- Method
values
arrayvalues(string|array|mapping|multiset|objectx)- Description
Return an array of all possible values from indexing the value
x.- Parameter
x stringFor strings an array of int with the ISO10646 codes of the characters in the string is returned.
multisetFor a multiset an array filled with ones (
1) is returned.arrayFor arrays a single-level copy of
xis returned.mappingFor mappings the array may contain any value.
objectFor objects which define lfun::_values() that return value is used.
For other objects an array with the values of all non-protected symbols is returned.
- See also