"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.titleize = titleize;
const util_1 = require("../util");
/**
 * Capitalize every word in a sentence
 * @param {string} value
 * @returns {string} a sentence with every word being capitalized
 */
function titleize(value) {
    return value
        .split(" ")
        .map((k) => (0, util_1.capitalize)(k))
        .join(" ");
}
//# sourceMappingURL=titleize.js.map