mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
16 lines
335 B
TypeScript
16 lines
335 B
TypeScript
export function concat(xs: string[]): string {
|
|
return xs.join('');
|
|
}
|
|
|
|
export function capitalize(s: string): string {
|
|
return toUpperCase(s.charAt(0)) + toLowerCase(s.slice(1));
|
|
}
|
|
|
|
export function toUpperCase(s: string): string {
|
|
return s.toUpperCase();
|
|
}
|
|
|
|
export function toLowerCase(s: string): string {
|
|
return s.toLowerCase();
|
|
}
|