Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

joinPoint

Find an ancestor of the given position that can be joined to the block before (or after if dir is positive). Returns the joinable point, if any.

function joinPoint(
doc: Node,
pos: number,
dir?: number,
): number | undefined;
§
joinPoint(doc: Node, pos: number, dir?: number): number | undefined
[src]

§Parameters

§
pos: number
[src]
§
dir?: number optional
[src]

§Return Type

§
number | undefined
[src]