(self: T)
| 225 | * @since 2.0.0 |
| 226 | */ |
| 227 | export const uncapitalize = <T extends string>(self: T): Uncapitalize<T> => { |
| 228 | if (self.length === 0) return self as Uncapitalize<T> |
| 229 | |
| 230 | return (toLowerCase(self[0]) + self.slice(1)) as Uncapitalize<T> |
| 231 | } |
| 232 | |
| 233 | /** |
| 234 | * Replaces matches in a string using `String.prototype.replace`. |
nothing calls this directly
no test coverage detected