can.Object.subset
Compares if subset is a subset of set. Returns true if an object is a set of another set
can.Object.subset({}, {foo: "bar"} ) //-> true
can.Object.subset(subset, set, compares)
Parameters
-
subset
{Object}
-
set
{Object}
-
compares
{Object}
Returns
{Boolean}
Whether or not subset is a subset of set