API reference › @evolu/common › Type › camelCaseToConstantCase
function camelCaseToConstantCase(
value: string & Brand<"CamelCaseIdentifier">,
): string & Brand<"ConstantCaseIdentifier">;
Defined in: packages/common/src/Type.ts:5837
Converts a CamelCaseIdentifier to a ConstantCaseIdentifier.
Converts http2Port to HTTP2_PORT. Use constantCaseToCamelCase to
recover the original spelling.