Function isHardwareDescription

  • 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.

    Parameters

    • obj: any

      The object to check.

    Returns obj is HardwareDescription

Generated using TypeDoc