includes

includes(value: MemberType): Boolean;

The includes method of the Array class returns true if the array contains the object specified in the value parameter.

This method returns false if the array does not contain the specified object.