NetLogo 7.0.0-beta2:

nw:weighted-distance-to

nw:weighted-distance-to target-turtle weight-variable

Like nw:distance-to, but takes link weight into account. The weights cannot be negative numbers.

Example:

Will output:

Take me to the full Networks Extension Dictionary