UNPKG

zigbee-herdsman-zigate

Version:

An open source ZigBee gateway solution with node.js.

7 lines (6 loc) 216 B
// eslint-disable-next-line function assertString(input: any): asserts input is string { if (typeof input === 'string') return; else throw new Error('Input must be a string!'); } export default assertString;