canSplitCheck whether splitting at the given position is allowed. function canSplit(doc: Node,pos: number,depth?: number,typesAfter?: (null | {type: NodeType; attrs?: Attrs | null; })[],): boolean;§canSplit(doc: Node, pos: number, depth?: number, typesAfter?: (null | {type: NodeType; attrs?: Attrs | null; })[]): boolean[src]§Parameters§doc: Node[src]§pos: number[src]§depth?: number optional[src]§typesAfter?: (null | {type: NodeType; attrs?: Attrs | null; })[] optional[src]§Return Type§boolean[src]