MCPcopy
hub / github.com/zoontek/react-native-bootsplash / removeNode

Function removeNode

src/specs/NativeRNBootSplash.web.ts:7–13  ·  view source on GitHub ↗
(node: Node | null)

Source from the content-addressed store, hash-verified

5}
6
7function removeNode(node: Node | null) {
8 const parent = node?.parentNode;
9
10 if (node != null && parent != null) {
11 parent.removeChild(node);
12 }
13}
14
15export default {
16 getConstants: () => ({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…