out-<breed>-neighbor?
out-link-neighbor?

out-<breed>-neighbor? turtle
out-link-neighbor? turtle
Turtle Command

Reports true if there is a directed link going from the caller to turtle.

crt 2
ask turtle 0 [
  create-link-to turtle 1
  show in-link-neighbor? turtle 1  ;; prints false
  show out-link-neighbor? turtle 1 ;; prints true
]
ask turtle 1 [
  show in-link-neighbor? turtle 0  ;; prints true
  show out-link-neighbor? turtle 0 ;; prints false
]

Take me to the full NetLogo Dictionary