source:
node_modules/es-toolkit/dist/array/isSubsetWith.mjs
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 214 bytes | |
| Line | |
|---|---|
| 1 | import { differenceWith } from './differenceWith.mjs'; |
| 2 | |
| 3 | function isSubsetWith(superset, subset, areItemsEqual) { |
| 4 | return differenceWith(subset, superset, areItemsEqual).length === 0; |
| 5 | } |
| 6 | |
| 7 | export { isSubsetWith }; |
Note:
See TracBrowser
for help on using the repository browser.
