UNPKG
@formant/ava
Version:
latest (3.4.21-formant)
3.4.21-formant
3.4.20-formant
3.4.19-formant
3.4.18-formant
3.4.16-formant
3.4.9-formant
3.4.8-formant
3.4.7-formant
3.4.6-formant
3.4.5-formant
3.4.4-formant
3.4.3-formant
3.4.2-formant
3.4.1-formant
A framework for automated visual analytics.
ava.antv.antgroup.com
@formant/ava
/
lib
/
advisor
/
utils
/
hasSubset.js
8 lines
(7 loc)
•
245 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
hasSubset
=
void
0
;
function
hasSubset
(
array1, array2
) {
return
array2.
every
(
function
(
e
) {
return
array1.
includes
(e); }); }
exports
.
hasSubset
= hasSubset;