Const
Determines whether the source iterable contains every element from the comparison sequence.
Curried version of _isSupersetOf.
Element type produced by both iterables.
Iterable whose contents are required to appear in src.
src
Optional factory supplying the set used for membership checks.
true when src is a superset of seq, otherwise false.
true
seq
false
Error Rethrows any error thrown by setFactory.
setFactory
const result = _isSupersetOf([1, 2, 3], [1, 2]);console.log(result); // true Copy
const result = _isSupersetOf([1, 2, 3], [1, 2]);console.log(result); // true
or using the curried version:
const result = pipeInto( [1, 2, 3], isSupersetOf([1, 2]));console.log(result); // true Copy
const result = pipeInto( [1, 2, 3], isSupersetOf([1, 2]));console.log(result); // true
Determines whether the source iterable contains every element from the comparison sequence.
Curried version of _isSupersetOf.