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

Returns true if the array contains the given element.

import klyn.collections

values = fs:[4, 8]
print(8 in values)       # true
Parameters
  • item The element to search for.
Returns

True when a matching element is found.