lbry-desktop/ui/util/string.js

6 lines
119 B
JavaScript
Raw Normal View History

2019-07-17 22:49:06 +02:00
// @flow
export function toCapitalCase(string: string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}