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 (17 loc) 425 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.serializeFloat = void 0; const serializeFloat = (value) => { if (value !== value) { return "NaN"; } switch (value) { case Infinity: return "Infinity"; case -Infinity: return "-Infinity"; default: return value; } }; exports.serializeFloat = serializeFloat;