in src/connection/UndiciConnection.ts [247:255]
function isUndiciAgentOptions (opts: Record<string, any>): opts is UndiciAgentOptions {
if (opts.keepAlive != null) return false
if (opts.keepAliveMsecs != null) return false
if (opts.maxSockets != null) return false
if (opts.maxFreeSockets != null) return false
if (opts.scheduling != null) return false
if (opts.proxy != null) return false
return true
}