Versions Compared

Key

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

Availability

This routine is available starting with SIL Engine™ 2.5.7.
Info
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
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.

Alias

arrayToSet(arrayName)

...

Converts an array to a set of unique elements.

Parameters

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

arrayArray

Example

Code Block
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
max

...

25
showSpacefalse
cqllabel = "array_routines" and space = currentSpace ( )
labelsarray_routines