UNPKG

774 BTypeScriptView Raw
1import type { AnyString } from '../types.js';
2/**
3 * @name stringLowerFirst
4 * @summary Lowercase the first letter of a string
5 * @description
6 * Lowercase the first letter of a string
7 * @example
8 * <BR>
9 *
10 * ```javascript
11 * import { stringLowerFirst } from '@polkadot/util';
12 *
13 * stringLowerFirst('ABC'); // => 'aBC'
14 * ```
15 */
16export declare const stringLowerFirst: (value?: AnyString | null) => string;
17/**
18 * @name stringUpperFirst
19 * @summary Uppercase the first letter of a string
20 * @description
21 * Lowercase the first letter of a string
22 * @example
23 * <BR>
24 *
25 * ```javascript
26 * import { stringUpperFirst } from '@polkadot/util';
27 *
28 * stringUpperFirst('abc'); // => 'Abc'
29 * ```
30 */
31export declare const stringUpperFirst: (value?: AnyString | null) => string;