(collection: C, keyPath: KeyPath<K>)
| 9 | * work with plain Objects and Arrays. |
| 10 | */ |
| 11 | export function removeIn< |
| 12 | K extends PropertyKey, |
| 13 | V, |
| 14 | TProps extends object, |
| 15 | C extends PossibleCollection<K, V, TProps>, |
| 16 | >(collection: C, keyPath: KeyPath<K>): C { |
| 17 | return updateIn(collection, keyPath, () => NOT_SET); |
| 18 | } |
no test coverage detected