Names
FUNCTION
@skmtc/core 0.63.4decapitalize
Decapitalizes (lowercases) the first character of a string.
Signature
import { decapitalize } from '@skmtc/core'
decapitalize(str: string): stringParameters
str, string required
The string to decapitalize
Example
decapitalize('Hello World'); // 'hello World'
decapitalize('API'); // 'aPI'
decapitalize(''); // ''Returns
string
The string with the first character lowercased