isEqual
Return if two queries represent the same data.
queryLogic.isEqual(a, b)
Returns true if the two queries represent the same data.
import {QueryLogic} from "can";
const queryLogic = new QueryLogic();
const checkEquality = queryLogic.isEqual(
{filter: {type: "critical"}},
{filter: {type: {$in: ["critical"]}}}
);
console.log( checkEquality ); //-> true