Turtle and Observer Command

who-min-of-turtles [list of commands]

Returns a list with the who number of the turtle corresponding to the smallest value of [list of commands] along with the smallest value of [list of commands].

Note: When a turtle calls the command, it is not included as part of the calculation.

Examples:

who-min-of-turtles [energy] returns a list with the who number of the turtle with the least energy and the smallest energy value: [2 5].

Related commands: