@polkadot/util
Version:
A collection of useful utilities for @polkadot
12 lines (11 loc) • 430 B
TypeScript
import type { AnyString } from '../types';
/**
* @name stringCamelCase
* @summary Convert a dash/dot/underscore/space separated Ascii string/String to camelCase
*/
export declare const stringCamelCase: (value: AnyString) => string;
/**
* @name stringPascalCase
* @summary Convert a dash/dot/underscore/space separated Ascii string/String to PascalCase
*/
export declare const stringPascalCase: (value: AnyString) => string;