getAndAssertNodeAtPathExists
react-mosaic-component / getAndAssertNodeAtPathExists
Function: getAndAssertNodeAtPathExists()
getAndAssertNodeAtPathExists<
T>(tree,path):MosaicNode<T>
Defined in: libs/react-mosaic-component/src/lib/util/mosaicUtilities.ts:605
Gets node at path from tree and verifies that neither tree nor the result are null
Type Parameters
T
T extends MosaicKey
Parameters
tree
MosaicNode<T> | null
path
Returns
MosaicNode<T>