Const
Determines whether every element of the source iterable exists in the comparison sequence.
Curried version of _isSubsetOf.
Element type produced by both iterables.
Iterable that must contain all values from src.
src
Optional factory supplying the set used for membership checks.
true when src is a subset of seq, otherwise false.
true
seq
false
Error Rethrows any error thrown by setFactory.
setFactory
const result = _isSubsetOf([1, 2], [1, 2, 3]);console.log(result); // true Copy
const result = _isSubsetOf([1, 2], [1, 2, 3]);console.log(result); // true
or using the curried version:
const result = pipeInto( [1, 2], isSubsetOf([1, 2, 3]));console.log(result); // true Copy
const result = pipeInto( [1, 2], isSubsetOf([1, 2, 3]));console.log(result); // true
Determines whether every element of the source iterable exists in the comparison sequence.
Curried version of _isSubsetOf.