Determine phone model

Hello colleagues, in order to find a solution to a query I have made in another thread, I would need to determine by software, the model of a cell phone (more specifically, to know if it is Samsung or not). Is that feasible?

You want the Cordova device plugin

https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-device/

Thanks PPetree, I will read that documentation. Very friendly as always. Regards.