_equals

v0.9.6arrow_drop_down
v0.9.6
STATUS
Passing
DOWNLOADS
40
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
2 KB
private _uniqContentEquals function.
1 contributor
Install _equals as a package?
Copied
npm i @bit/justin-capalbo.ramda._equals
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right
_equals ()

private _uniqContentEquals function. That function is checking equality of 2 iterator contents with 2 assumptions

  • iterators lengths are the same
  • iterators values are unique

false-positive result will be returned for comparision of, e.g.

  • [1,2,3] and [1,2,3,4]
  • [1,1,1] and [1,2,3]
Help and resources