/**
 * Try to choose plural form from available phrase propositions.
 *
 * @param {Array} phrasePropositions List of phrases propositions.
 * @param {number} pluralForm Number determining which phrase form should be used.
 *
 * @returns {string|Array} One particular phrase if it's possible, list of unchanged phrase propositions otherwise.
 */ "use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "default", {
    enumerable: true,
    get: function() {
        return pluralize;
    }
});
function pluralize(phrasePropositions, pluralForm) {
    const isPluralizable = Array.isArray(phrasePropositions) && Number.isInteger(pluralForm);
    if (isPluralizable) {
        return phrasePropositions[pluralForm];
    }
    return phrasePropositions;
}
