out-<breed>-to
out-link-to

out-<breed>-to turtle
out-link-to turtle
Turtle Command

Reports the directed link from the caller to turtle. If no link exists then it reports nobody.

crt 2
ask turtle 0 [
  create-link-to turtle 1
  show out-link-to turtle 1 ;; shows link 0 1
]
ask turtle 1
[
  show out-link-to turtle 0 ;; shows nobody
]

See also: in-link-from link-with

Take me to the full NetLogo Dictionary