This function resolves the input productId (number, string, or HardwareDescription)
to a numeric ID and searches the somanetProducts array for a product with a matching ID.
Returns
The matching SomanetProduct object if found, or undefined if no match exists
or if the input is invalid.
Finds a SOMANET product by its product ID.
This function resolves the input
productId(number, string, orHardwareDescription) to a numeric ID and searches thesomanetProductsarray for a product with a matching ID.Returns
The matching
SomanetProductobject if found, orundefinedif no match exists or if the input is invalid.