array-differ

WebJar for array-differ

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

array-differ
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

array-differ
WebJar for array-differ
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/array-differ

Download array-differ

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/array-differ/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>array-differ</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/array-differ/
implementation 'org.webjars.npm:array-differ:3.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/array-differ/
implementation ("org.webjars.npm:array-differ:3.0.0")
'org.webjars.npm:array-differ:jar:3.0.0'
<dependency org="org.webjars.npm" name="array-differ" rev="3.0.0">
  <artifact name="array-differ" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='array-differ', version='3.0.0')
)
libraryDependencies += "org.webjars.npm" % "array-differ" % "3.0.0"
[org.webjars.npm/array-differ "3.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

array-differ

Create an array with values that are present in the first input array but not additional ones

Install

$ npm install array-differ

Usage

const arrayDiffer = require('array-differ');

arrayDiffer([2, 3, 4], [3, 50]);
//=> [2, 4]

API

arrayDiffer(input, ...values)

Returns a new array.

input

Type: unknown[]

values

Type: unknown[]

Arrays of values to exclude.


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Versions

Version
3.0.0
2.1.0
1.0.0