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:

ParameterTypeDescription
fn(doc: Doc, sharedHist: boolean) => voidThe function to call for each linked document.

Returns: void