node-red-contrib-home-assistant-websocket
Version:
Node-RED integration with Home Assistant through websocket and REST API
16 lines (15 loc) • 414 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.isBoolean = isBoolean;
exports.isString = isString;
exports.isRecord = isRecord;
const lodash_1 = require("lodash");
function isBoolean(value) {
return typeof value === 'boolean';
}
function isString(value) {
return typeof value === 'string';
}
function isRecord(value) {
return (0, lodash_1.isPlainObject)(value);
}
;