MCPcopy Index your code
hub / github.com/immutable-js/immutable-js / removeIn

Function removeIn

src/functional/removeIn.ts:11–18  ·  view source on GitHub ↗
(collection: C, keyPath: KeyPath<K>)

Source from the content-addressed store, hash-verified

9 * work with plain Objects and Arrays.
10 */
11export 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}

Callers 4

deleteInFunction · 0.90
immutable-flow.jsFile · 0.85
list.tsFile · 0.85
updateIn.tsFile · 0.85

Calls 1

updateInFunction · 0.90

Tested by

no test coverage detected