UNPKG

@arizeai/phoenix-client

Version:

A client for the Phoenix API

14 lines 390 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pluralize = pluralize; /** * Pluralize a word based on the count. * * @param word - The word to pluralize. * @param count - The count of the word. * @returns The pluralized word. */ function pluralize(word, count) { return count === 1 ? word : `${word}s`; } //# sourceMappingURL=pluralize.js.map