subset
algebra.subset(a, b)
Returns true if A is a subset of B or A is equal to B (A ⊆ B).
algebra.subset({type: "critical"}, {}) //-> true
algebra.subset({}, {}) //-> true
Returns
{Boolean}
:
true
if a
is a subset of b
.