[refactor] Remove unused omitBy function (#4886)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Christian Byrne
2025-08-09 19:12:48 -07:00
committed by GitHub
parent b745f533ba
commit ffc812a8f5

View File

@@ -1,8 +0,0 @@
export function omitBy<T extends object>(
obj: T,
predicate: (value: any) => boolean
): Partial<T> {
return Object.fromEntries(
Object.entries(obj).filter(([_key, value]) => !predicate(value))
) as Partial<T>
}