Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with katl-commons 2SIL Engine™ 2.5.8.

Syntax

arrayKeys(array)

...

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

Parameters

Parameter name

Type

Required

Description

array

array

Yes

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 !

 


See also

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "array_routines"
labelsarray_routines