Notes possess a property,
links, which is a listing of all outbound basic and text links from that note, i.e. any outbound intra-document links. Links are read-only and have three properties: the source note, the destination note, and the path name.
Note: external links, e.g. web links are not accessible to AppleScript via the
links property, though they may possible be accessed via the contents of the $Text attribute of the note, as a rich-text feature.