Skip to content

Doc.iterLinkedDocs method

Doc › iterLinkedDocs

Unofficial

Will call the given function for all documents linked to this document.

Signature:

iterLinkedDocs(fn: (doc: Doc, sharedHist: boolean) => void): void

Parameters:

Parameter Type Description
fn (doc: Doc, sharedHist: boolean) => void The function to call for each linked document.

Returns: void