klyn.collections.Array.operator in
method
public native operator in(item as T) as Boolean
Description

Returns true when the array contains the given element.

import klyn.collections

values as Int[] = Int[2]
values[0] = 4
values[1] = 8
print(8 in values)       # true
Parameters
  • item Element to search.
Returns

True when a matching element is found.