(obj: AnyObject, keys: readonly string[])
| 3 | } |
| 4 | |
| 5 | export function removeKeys(obj: AnyObject, keys: readonly string[]) { |
| 6 | return keys.reduce(removeKey, obj); |
| 7 | } |
| 8 | |
| 9 | // lodash has an 'omit' function but it's quite slow |
| 10 | export function removeKey(obj: AnyObject, key: string) { |
no outgoing calls
no test coverage detected