UNPKG
imma
Version:
latest (0.0.1)
0.0.1
A collection of functions for dealing with native arrays and objects immutably
imma
/
lib
/
array
/
equals.js
8 lines
(5 loc)
•
173 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use strict'
const
equalsWith =
require
(
'./equalsWith'
)
const
predicate
= (
a, b
) => a === b
const
equals =
module
.
exports
=
(
a, b
) =>
equalsWith
(a, b, predicate)