Type guard to check if an object is of type HardwareDescription.
This function validates if the provided object contains the necessary properties,
including fileVersion, a device object with serialNumber, and optionally an assembly property.
Returns
true if the object conforms to the HardwareDescription type, otherwise false.
Type guard to check if an object is of type
HardwareDescription
.This function validates if the provided object contains the necessary properties, including
fileVersion
, adevice
object withserialNumber
, and optionally anassembly
property.Returns
true
if the object conforms to theHardwareDescription
type, otherwisefalse
.