mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
7 lines
131 B
TypeScript
7 lines
131 B
TypeScript
export function mapEmptyStringToNull(input: string): string | null {
|
|
if (input === "") {
|
|
return null;
|
|
}
|
|
|
|
return input;
|
|
}
|