Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !


Info
titleAvailability

This routine is available starting with katl-commons 2.5.8.

...

Excerpt

Returns the keys of the array, if array is using the new syntax in version 2.5.

You should remember that keys Keys are not sorted and that index in the returned array do does not correspond to index in the original array. The routine only returns a list of added keys.

If the array contains no keys , an empty array is returned.

Parameters

Parameter name

Type

Required

Description

array

array

Yes

The array

Array.

Return Type

array of strings

...

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 !

...