const propertiesEqual = (a: object, b: object, properties: string[]) => a && b && properties.every(p => a[p] === b[p]);
226400cookie-checkTypescript properties equal
const propertiesEqual = (a: object, b: object, properties: string[]) => a && b && properties.every(p => a[p] === b[p]);