Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

arrayToSet(arrayName)

Package

array

Alias

Pkg Usage

toSet(arrayName)

Description

Excerpt
hiddentrue

Converts an array to a set of unique elements.

Converts an array to a set of unique elements.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

arrayName

Array

Yes

Array to be converted to a set of elements.

Return Type

Array

Example

Code Block
languagejs
watchers = arrayToSet(watchers);

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

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "array_routine" and space = currentSpace ( )
labelsarray_routines
We've encountered an issue exporting this macro. Please try exporting this page again later.