UNPKG

@nestjs/websockets

Version:

WebSockets for NestJS: gateways with message handlers, guards, pipes and interceptors, on Socket.IO or ws.

4 lines (3 loc) • 112 B
export function compareElementAt(prev, curr, index) { return prev && curr && prev[index] === curr[index]; }