Strings

(, en)
const capitalizeFirst = (value: string | undefined): string | undefined =>
  value ? value[0].toUpperCase() + value.slice(1) : undefined;

const camelCaseToWords = (value: string | undefined): string | undefined =>
  capitalizeFirst(value?.replace(/([A-Z])/g, " $1"));