Versions Compared

Key

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

Syntax

arrayElementExists(array, elem)

Package

array

Alias

elementExists (array, elem)

Pkg Usage

elementExists(array, elem)

Description

Excerpt
hiddentrue

Returns "true" if the element exists in the array and "false" otherwise.

Returns "true" if the element exists in the array and "false" otherwise.

...

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

Parameter name

Type

Required

Description

array

Array

Yes

Array where the element existence is checked.

element

Any

Yes

Element the existence is checked for.

Return Type

Boolean

Example

...

The routine returns "true" if currentUser is in the watchers array and if the result is "true" a message is printed.

Note

If elem is not the same type as declared in the array definition, the routine returns "error".

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.