Product Information > JADE Encyclopaedia of Classes – Volume 1 > Chapter 1 - System Classes > includes

includes

includes(value: MemberType): Boolean abstract;

The includes method of the Collection class returns true if the collection contains the object specified in the value parameter. This method returns false if a null reference is passed to the value parameter. For a dictionary the method returns true if the object is contained in the dictionary at its current key value.