can.Object.subset
Returns true if an Object is a subset of another Object
can.Object.subset(subset, set, compares)
Parameters
-
subset
{Object}
-
set
{Object}
-
compares
{Object}
Returns
{Boolean}
Whether or not subset is a subset of set
Example