Skip to main content

List: random item

Node function to extract a random item from a list.

Input

A list of items.

Parameters

Item typeREQUIRED

The type of the list item. See all types.

Example
["a", "b", "c"] // item type -> String
[1, 2, 3] // item type -> Integer

Output

Item value

The value extracted randomly from the list.