(keys: TExclude[])
| 38 | const isCapital = (ch: string): boolean => ch.toUpperCase() === ch; |
| 39 | const filterKey = |
| 40 | <TExclude extends keyof any>(keys: TExclude[]) => |
| 41 | <TAll extends keyof any>(key: TAll): key is Exclude<TAll, TExclude> => |
| 42 | keys.indexOf(key as any) === -1; |
| 43 | |
| 44 | export const omit = <T extends Record<string, unknown>, TKeys extends keyof T>( |
| 45 | obj: T, |
no outgoing calls
no test coverage detected
searching dependent graphs…