Type Alias $ExtractManipulatedString<T>

$ExtractManipulatedString<T>: [T, unknown] extends [unknown, T]
    ? T
    : _UpperOrElse<T, _LowerOrElse<T, _CapOrElse<T, _UncapOrElse<T, T>>>>

🧰 type util

Extract the manipulated string from any of the intrinsic string manipulation types:

  • Uppercase
  • Lowercase
  • Capitalize
  • Uncapitalize

Type Parameters

  • T extends string