UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

18 lines (14 loc) 324 B
"use strict"; var isMatcher = require("./is-matcher"); /** * Throws a TypeError when `value` is not a matcher * * @private * @param {*} value The value to examine */ function assertMatcher(value) { if (!isMatcher(value)) { throw new TypeError("Matcher expected"); } } module.exports = assertMatcher;