# array-has **Repository Path**: mirrors_vadimdemedes/array-has ## Basic Information - **Project Name**: array-has - **Description**: Array#includes with support for regular expressions - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2025-09-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # array-has [![Circle CI](https://circleci.com/gh/vdemedes/array-has.svg?style=svg)](https://circleci.com/gh/vdemedes/array-has) Array#includes with support for regular expressions. ### Installation ``` $ npm install array-has --save ``` ### Usage ```javascript const has = require('array-has'); has([0, 1, 2], 2).should.equal(true); has(['a', 'b', 'c'], 'b').should.equal(true); has(['Hello', 'world'], /hello/i).should.equal(true); ``` ### Tests [![Circle CI](https://circleci.com/gh/vdemedes/array-has.svg?style=svg)](https://circleci.com/gh/vdemedes/array-has) ``` $ make test ``` ### License array-has is released under the MIT license.