3.0.1 • Published 3 years ago

array-union v3.0.1

Weekly downloads
21,889,660
License
MIT
Repository
github
Last release
3 years ago

array-union

Create an array of unique values, in order, from the input arrays

Install

$ npm install array-union

Usage

import arrayUnion from 'array-union';

arrayUnion([1, 1, 2, 3], [2, 3]);
//=> [1, 2, 3]

arrayUnion(['foo', 'foo', 'bar']);
//=> ['foo', 'bar']

arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']);
//=> ['🐱', '🦄', '🐻', '🌈']

arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']);
//=> ['🐱', '🦄', '🐻', '🐶', '🌈']

multimatcharchetype-librarycomponennentteasy-select-rnvuedragdropuploadimagesreact-native-bluetooth2killi8n-react-native-fast-imageairscanairscan-examplebb-chatreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112@texttree/demo-bsa-reference-rcl@fundefund/funde_ck@ntt_app/react-native-custom-notificationreact-native-covid-sdkgql_din_mod@l1nyanm1ng/react-picture-viewer@saeon/quick-formcthpb-plugin-socialmysql-formatreact-native-printer-brothers@byteinspire/clireact-native-shekhar-bridge-testcogoportutilsukor-remasteruncoded-connect@reversodev/oceanic-fleetlevibestliblevibestlib2levilibtest19levilibtest24levilibtest25levilibtest26levilibtest27levilibtest28levilibtest29wilscanner@khalitovadel/abstract-repository@oiti/documentoscopy-react-nativejs4cytoscape@mink-opn/build-tokensquoc-testreact-native-slider-kfunblock-block-save-variables@prodam/prodam-typescclibyarntest@saaspe/componentsplginexpand-react-bridgeopea-bootstraapluminos-ui-coresklif-ui-kitsklif-apits-handy@everything-registry/sub-chunk-1165jawwy-sdkjawwy_gamification_release@314oner_npm/universal-components-library@deepakorg/test@deepak757/testreact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgp149-tablesklif-uimachinebeemrcapsrcf-tea-testnetreact-native-jawwy_samplereact-native-chenaardskcorenewdualite-application-formeditorjs_forkederikoalamerlocogonzales08es-react-bridgeelvyelviraemr-tabulator-tablesepm-npm-tscera-ckeditor5enefti-galerireact-native-responsive-sizedfeuk-frontend-manualeasyplayer-myec0lint-style-config-postcssdynamics-contracts-xebameditor.js-custom-multiple-selectedpayutestingblix_svelvetflaressseslint-config-k3cman-angulareslint-plugin-aurelia-event-aggregatorstyle-guide-maineslint-plugin-templewallet-test
3.0.1

3 years ago

3.0.0

3 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.2

8 years ago

1.0.1

9 years ago

1.0.0

10 years ago

0.1.0

10 years ago