MCPcopy
hub / github.com/mobxjs/mobx-state-tree / assertIsStateTreeNode

Function assertIsStateTreeNode

src/core/node/node-utils.ts:77–82  ·  view source on GitHub ↗
(
    value: IAnyStateTreeNode,
    argNumber: number | number[]
)

Source from the content-addressed store, hash-verified

75 * @hidden
76 */
77export function assertIsStateTreeNode(
78 value: IAnyStateTreeNode,
79 argNumber: number | number[]
80): void {
81 assertArg(value, isStateTreeNode, "mobx-state-tree node", argNumber)
82}
83
84/**
85 * @internal

Callers 15

getTypeFunction · 0.85
getChildTypeFunction · 0.85
onPatchFunction · 0.85
onSnapshotFunction · 0.85
applyPatchFunction · 0.85
recordPatchesFunction · 0.85
protectFunction · 0.85
unprotectFunction · 0.85
applySnapshotFunction · 0.85
getSnapshotFunction · 0.85
hasParentFunction · 0.85
getParentFunction · 0.85

Calls 1

assertArgFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…