Skip to content

Home

Development

IDEs

JAR services

API Explorer

ArrayFunctions

The Array class contains a series of functions for manipulating Iterables. The functions in this class are intended for use in Gloop only, although they are still available for use in Groovy code1.

Recommended for use in Gloop only

Groovy already provides functions for performing advanced operations on arrays and collections natively.

Here's a snippet using functions in Array:

Sample service showing how to use the `Array` functions


  1. Just call the function in Groovy as you would call any static function.