Type: Function

Splits the given element at the given offset without validation.

Should not be used directly. The "unsafe" part in this function only refers to the fact that the function does not do any validation, in contrast to primitives that always guarantee a schema-valid result on an unmodified blueprint.

The position on which the split is started remains in the first half.


  1. node


    Type: Node

    The node to split

  2. offset


    Type: Number

    The offset at which to split the node

  3. blueprint


    Type: Blueprint

    The blueprint in which to perform the operation

  4. moveSplitPosition


    Type: Boolean

    Whether to move the position from which the split was started into the second half

    Default value


Type: Node

The second half of the split node. The given node becomes the first half.