UNPKG

zwave-js

Version:

Z-Wave driver written entirely in JavaScript/TypeScript

15 lines 631 B
export function isFirmwareUpdateInfo(info) { return typeof info === "object" && info !== null && typeof info.version === "string" && typeof info.normalizedVersion === "string" && typeof info.changelog === "string" && typeof info.channel === "string" && typeof info.device === "object" && info.device !== null && typeof info.device.manufacturerId === "number" && typeof info.device.productType === "number" && typeof info.device.productId === "number" && typeof info.device.firmwareVersion === "string"; } //# sourceMappingURL=_Types.js.map