MetadataCache.iterateAllRefs method
MetadataCache › iterateAllRefs
Unofficial
Iterate over all link references in the vault with callback.The callback is invoked with the path of the file the reference was found in and the reference itself. Returning
true from it stops the iteration.Signature:
iterateAllRefs(callback: (path: string, reference: Reference) => boolean | void): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (path: string, reference: Reference) => boolean | void | The callback to execute for each reference. |
Returns: void