UNPKG

@azure-rest/ai-translation-text

Version:

An isomorphic client library for the Azure Cognitive Translator Service

13 lines 362 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. export function buildMultiCollection(items, parameterName) { return items .map((item, index) => { if (index === 0) { return item; } return `${parameterName}=${item}`; }) .join("&"); } //# sourceMappingURL=serializeHelper.js.map