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.

15 lines (12 loc) 391 B
"use strict"; /** * Returns `true` when the argument is an instance of Set, `false` otherwise * * @alias module:samsam.isSet * @param {*} val - A value to examine * @returns {boolean} Returns `true` when the argument is an instance of Set, `false` otherwise */ function isSet(val) { return (typeof Set !== "undefined" && val instanceof Set) || false; } module.exports = isSet;