Functions

stringUpperFirst

▸ stringUpperFirst(value?: string | null): string

Defined in string/upperFirst.ts:19

name: stringUpperFirst

summary: Lowercase the first letter of a string

description: Lowercase the first letter of a string

example:

import { stringUpperFirst } from '@polkadot/util';

stringUpperFirst('abc'); // => 'Abc'
1
2
3

Parameters:

Name Type
Optional value string | null

Returns: string


Last Updated: 2/26/2019, 11:08:42 AM