I'm working on angular application that have SSR integration with angular universal. On this project we use a plug-in for some steppers (bs-stepper). The issue is that this plug-in have a multiple window reference like this:
var matches = window.Element.prototype.matches;
I need a way to validate that is a browser or not, a tried multiple options like "detect" and "navigator".