node-red-contrib-mysensors
Version:
Mysensors related nodes, for decoding / encoding mysensors serial protocol and MQTT topic, and wrapping arbitrary messages into mysensors compatible messages
13 lines (12 loc) • 365 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NullCheck = void 0;
class NullCheck {
static isDefinedOrNonNull(subject) {
return subject !== undefined && subject !== null;
}
static isUndefinedOrNull(subject) {
return subject === undefined || subject === null;
}
}
exports.NullCheck = NullCheck;