UNPKG

genkitx-patientseek

Version:

A community plugin for Firebase Genkit to integrate DeepSeek medical models.

8 lines 232 B
export function removeEmptyKeys<T extends Record<string, any>>(obj: T): T { for (const key of Object.keys(obj) as Array<keyof T>) { if (obj[key] == null) { delete obj[key]; } } return obj; }