can.Object.subsets
Returns the sets in 'sets' that are a subset of checkSet
can.Object.subsets({userId: 20},
[
{userId: 20, limit: 30},
{userId: 5},
{}
]) //-> [{userId: 20, limit: 30}]
can.Object.subsets(checkSet, sets, compares)
Parameters
-
checkSet
{Object}
-
sets
{Object}
-
compares
{Object}