UNPKG

@arizeai/phoenix-client

Version:

A client for the Phoenix API

11 lines 289 B
/** * Pluralize a word based on the count. * * @param word - The word to pluralize. * @param count - The count of the word. * @returns The pluralized word. */ export function pluralize(word, count) { return count === 1 ? word : `${word}s`; } //# sourceMappingURL=pluralize.js.map