get single(list)single item Type: For any types t([t]) -> t

If this list has exactly one element, returns it. Otherwise gives an error.

This is useful if you have a table where you store single values. The column is a list, so you need to use a function, like single, to fetch out the one item in it.

ExamplesClick an example to insert it
get single([65])65
get single([])error
get single([1, 2])error