Wraps an object with a Proxy that makes property access case-insensitive.
Property lookup (e.g. obj.Foo or obj.foo) will resolve to the same underlying key, regardless of casing.
Only affects string-based property access (not symbols).
Parameters
obj: any
The original object.
Returns Record<string,any>
A proxied object with case-insensitive property access.
Wraps an object with a Proxy that makes property access case-insensitive.
Property lookup (e.g.
obj.Fooorobj.foo) will resolve to the same underlying key, regardless of casing. Only affects string-based property access (not symbols).