37 lines
664 B
Markdown
37 lines
664 B
Markdown
|
|
|
|
# Functions
|
|
|
|
<a id="stringlowerfirst"></a>
|
|
|
|
## stringLowerFirst
|
|
|
|
▸ **stringLowerFirst**(value?: *`string` \| `null`*): `string`
|
|
|
|
*Defined in [string/lowerFirst.ts:19](https://github.com/polkadot-js/common/blob/815fdc7/packages/util/src/string/lowerFirst.ts#L19)*
|
|
|
|
*__name__*: stringLowerFirst
|
|
|
|
*__summary__*: Lowercase the first letter of a string
|
|
|
|
*__description__*: Lowercase the first letter of a string
|
|
|
|
*__example__*:
|
|
|
|
```javascript
|
|
import { stringLowerFirst } from '@polkadot/util';
|
|
|
|
stringLowerFirst('ABC'); // => 'aBC'
|
|
```
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| `Optional` value | `string` \| `null` |
|
|
|
|
**Returns:** `string`
|
|
|
|
___
|
|
|