37 lines
662 B
Markdown
37 lines
662 B
Markdown
|
|
|
|
# Functions
|
|
|
|
<a id="stringupperfirst"></a>
|
|
|
|
## stringUpperFirst
|
|
|
|
▸ **stringUpperFirst**(value?: *`string` | `null`*): `string`
|
|
|
|
*Defined in [string/upperFirst.ts:19](https://github.com/polkadot-js/common/blob/420f807/packages/util/src/string/upperFirst.ts#L19)*
|
|
|
|
*__name__*: stringUpperFirst
|
|
|
|
*__summary__*: Lowercase the first letter of a string
|
|
|
|
*__description__*: Lowercase the first letter of a string
|
|
|
|
*__example__*:
|
|
|
|
```javascript
|
|
import { stringUpperFirst } from '@polkadot/util';
|
|
|
|
stringUpperFirst('abc'); // => 'Abc'
|
|
```
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| `Optional` value | `string` | `null` |
|
|
|
|
**Returns:** `string`
|
|
|
|
___
|
|
|