Versions Compared

Key

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

...

Info
titleAvailability

This routine is available since starting with katl-commons 2.5.7.

Syntax

...

arrayToSet(arrayName)

Description

...

Excerpt

Converts an array to a set of (unique) elements.

Alias

...

arrayToSet(arrayName)

Parameters

...

Parameter name

Type

Required

Description

arrayName

array

Yes

The array to be converted to a set of elements.

Return Type

...

array

Example

...

Code Block
watchers = arrayToSet(watchers);

The result returned by the routine is an array which contains the elements from watchers without duplicates.

 

See

...

also

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