check that the members in second array are present in the first one
Optional
hasMembers([1], [1]);hasMembers([1, 2], [2, 1]);hasMembers([{ a: 1 }], [{ a: 1 }], { deep: true }); Copy
hasMembers([1], [1]);hasMembers([1, 2], [2, 1]);hasMembers([{ a: 1 }], [{ a: 1 }], { deep: true });
check that the members in second array are present in the first one