...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 2.5.8. |
Syntax
...
arrayKeys(array)
Description
...
Excerpt |
---|
Returns the keys of the array, if array is using the new syntax in 2.5 |
...
If the array contains no keys, an empty array is returned.
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
array | array | Yes | The array. |
Return Type
...
array of strings
Example
...
Code Block |
---|
number []arr; arr['one'] = 1; arr['two'] = 2; arr['three'] = 3; arr[3] = 4; string [] arrkeys = arrayKeys(arr); // contains strings 'one', 'two', 'three' but not necessary in that order ! |
See
...
also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|