API reference › @evolu/common › Type › pascalCaseToConstantCase
function pascalCaseToConstantCase(
value: string & Brand<"PascalCaseIdentifier">,
): string & Brand<"ConstantCaseIdentifier">;
Defined in: packages/common/src/Type.ts:5887
Converts a PascalCaseIdentifier to a ConstantCaseIdentifier.
Converts Http2Port to HTTP2_PORT. Use constantCaseToPascalCase to
recover the original spelling.