Versions Compared

Key

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

...

Return Type

Array

Example

Code Block
languagejs
watchers = deleteElement(watchers, currentUser());

The result returned by the routine function is assigned to the the same array watchers, so the initial array watchers will be modified.

Note

  1. If array is not defined as an array, the routine function returns error.
  2. If elem is not the same type as declared in the array definition, the routine function returns error.

Info
Starting with version 2.5, there is a more powerful way to express these operations: array = array - element; or even better array -= element;

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "array_routine" and space = currentSpace ( )
labelsarray_routinesroutine

We've encountered an issue exporting this macro. Please try exporting this page again later.