@hg8496/gridvis-client
Version:
A library to access all GridVis data
10 lines • 459 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDeviceId = void 0;
var DevicesEndpoint_1 = require("./DevicesEndpoint");
Object.defineProperty(exports, "DevicesEndpoint", { enumerable: true, get: function () { return DevicesEndpoint_1.DevicesEndpoint; } });
function getDeviceId(device) {
return typeof device === "number" ? device : device.id;
}
exports.getDeviceId = getDeviceId;
//# sourceMappingURL=index.js.map