@karmaniverous/get-dotenv
    Preparing search index...

    Function omitUndefinedRecord

    • Specialized helper for env-like maps: drop undefined and return string-only.

      Type Parameters

      • V extends string

        Value type for present entries (must extend string).

      Parameters

      • obj: Record<string, V | undefined>

        Env-like record containing string | undefined values.

      Returns Record<string, V>

      A new record containing only the keys with defined values.