node-red-contrib-iiot-opcua
Version:
An Industrial IoT OPC UA toolbox contribution package for Node-RED based on node-opcua.
20 lines (17 loc) • 465 B
JavaScript
;
/**
The BSD 3-Clause License
Copyright 2022 - DATATRONiQ GmbH (https://datatroniq.com)
All rights reserved.
node-red-contrib-iiot-opcua
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getEnumKeys = void 0;
/**
* Get a list of enum keys from an enum
*/
const getEnumKeys = (obj) => {
return Object.keys(obj).filter(k => Number.isNaN(+k));
};
exports.getEnumKeys = getEnumKeys;
//# sourceMappingURL=helpers.js.map