UNPKG

node-red-contrib-home-assistant-websocket

Version:
16 lines (15 loc) 414 B
"use strict"; 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); }