canJoinTest whether the blocks before and after a given position can be joined. function canJoin(doc: Node, pos: number): boolean;§canJoin(doc: Node, pos: number): boolean[src]§Parameters§doc: Node[src]§pos: number[src]§Return Type§boolean[src]