mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 09:08:03 +00:00
32 lines
772 B
TypeScript
32 lines
772 B
TypeScript
import type { AnyString } from '../types.js';
|
|
/**
|
|
* @name stringLowerFirst
|
|
* @summary Lowercase the first letter of a string
|
|
* @description
|
|
* Lowercase the first letter of a string
|
|
* @example
|
|
* <BR>
|
|
*
|
|
* ```javascript
|
|
* import { stringLowerFirst } from '@pezkuwi/util';
|
|
*
|
|
* stringLowerFirst('ABC'); // => 'aBC'
|
|
* ```
|
|
*/
|
|
export declare const stringLowerFirst: (value?: AnyString | null) => string;
|
|
/**
|
|
* @name stringUpperFirst
|
|
* @summary Uppercase the first letter of a string
|
|
* @description
|
|
* Lowercase the first letter of a string
|
|
* @example
|
|
* <BR>
|
|
*
|
|
* ```javascript
|
|
* import { stringUpperFirst } from '@pezkuwi/util';
|
|
*
|
|
* stringUpperFirst('abc'); // => 'Abc'
|
|
* ```
|
|
*/
|
|
export declare const stringUpperFirst: (value?: AnyString | null) => string;
|