Skip to content
On this page

arrayDifference

Create an array that contains values not included in the other given array, using === string equal.

Example

arrayDifference([1, 2, 3], [2, 3]) // => [1]

Playground

const { arrayDifference } = require('rhodash')
arrayDifference([1, 2, 3], [2, 3]) // => [1]