UNPKG

@azure-rest/ai-translation-text

Version:

An isomorphic client library for the Azure Cognitive Translator Service

16 lines 485 B
"use strict"; // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", { value: true }); exports.buildMultiCollection = buildMultiCollection; function buildMultiCollection(items, parameterName) { return items .map((item, index) => { if (index === 0) { return item; } return `${parameterName}=${item}`; }) .join("&"); } //# sourceMappingURL=serializeHelper.js.map