Turtle and Observer Command

mode-of-list list

Returns the mode of the given list.

Note: If list contains no numbers, an error occurs. If some of the list, when evaluated, are not numbers, those values are ignored.

Examples:

mode-of-list [1 1 2 2 2] returns 2.

Related commands:
mode-of-patches mode-of-turtles