$applyNodeReplacement
functionApplies any registered node replacement for the given node's type, returning the replacement node or the original if none is registered.
Applies any registered node replacement for the given node's type, returning the replacement node or the original if none is registered.