Home > rc-js-util > arrayContains
Returns true if the item is present in the list (=== equality test).
Signature:
export declare function arrayContains(items: TTypedArray, item: number): boolean;
Parameter | Type | Description |
---|---|---|
items | TTypedArray | |
item | number |
Returns:
boolean
See arrayContains().