(self: string): stringConverts a string to PascalCase.
When to use
Use to normalize strings from spaces, separators, or camel/Pascal word boundaries into PascalCase.
Source effect/String.ts:13294 lines
export const const pascalCase: (self: string) => stringConverts a string to PascalCase.
When to use
Use to normalize strings from spaces, separators, or camel/Pascal word
boundaries into PascalCase.
pascalCase: (self: stringself: string) => string = const noCase: (options?: {
readonly splitRegExp?: RegExp | ReadonlyArray<RegExp> | undefined;
readonly stripRegExp?: RegExp | ReadonlyArray<RegExp> | undefined;
readonly delimiter?: string | undefined;
readonly transform?: (part: string, index: number, parts: ReadonlyArray<string>) => string;
}) => (self: string) => string (+1 overload)
noCase({
delimiter?: string | undefineddelimiter: "",
transform?: | ((
part: string,
index: number,
parts: ReadonlyArray<string>
) => string)
| undefined
transform: const pascalCaseTransform: (
input: string
) => string
pascalCaseTransform
})