2018-09-06 13:22:55 -05:00
|
|
|
export function capitalize(s: string): string {
|
2018-09-11 16:33:02 -05:00
|
|
|
return toUpperCase(s.charAt(0)) + toLowerCase(s.slice(1));
|
2018-09-11 13:51:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export function toUpperCase(s: string): string {
|
|
|
|
return s.toUpperCase();
|
2018-09-06 13:22:55 -05:00
|
|
|
}
|
2018-09-11 16:33:02 -05:00
|
|
|
|
|
|
|
export function toLowerCase(s: string): string {
|
|
|
|
return s.toLowerCase();
|
|
|
|
}
|