oauth-v2-client
Version:
Oauth V2 client based on axios
14 lines (13 loc) • 391 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.capitalize = void 0;
/**
* Put the first later of the string in capital letter
* @param value value to update
*/
function capitalize(value) {
if (typeof value !== "string")
return "";
return value.charAt(0).toUpperCase() + value.slice(1);
}
exports.capitalize = capitalize;