lbry-desktop/ui/util/string.js
2019-11-11 13:27:29 -05:00

5 lines
119 B
JavaScript

// @flow
export function toCapitalCase(string: string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}