New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

arr-contains

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arr-contains

Checks if array contains all the values

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

arr-contains

Build NPM Version NPM Downloads Github Repo Size LICENSE Contributors Commit

Check all values exists in the array

Give us a :star: if you like our work :heart:

Install

$ npm install arr-contains --save

Usage

const arrayContains = require('arr-contains');

const has = arrayContains(['fastret', 'array', 'contains', 'me'], ['array', 'contains']);
// Output -> true

const has = arrayContains(['fastret', 'contains', 'me'], ['array', 'contains']);
// Output -> false

Contributing

Interested in contributing to this project? You can log any issues or suggestion related to this library here

Read our contributing guide on getting started with contributing to the codebase

Keywords

array

FAQs

Package last updated on 20 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts