Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ArrayUtility.Contains

static function Contains(array: T[], item: T): bool;
static bool Contains(T[] array, T item);
static def Contains(array as T[], item as T) as bool

Returns

bool True if item is in array, false otherwise.

Description

Determines if the array contains the item.