Skip to content
Flint
Documentation

list

typePaperVelocity

An ordered list of values.

Properties 3

Number of items.

First item, or none.

Last item, or none.

Methods 12

Appends a value.

Inserts a value at an index.

Removes the first matching value. Returns true if found.

Removes and returns the item at an index.

Removes and returns the last item, or none.

True if the list has the value.

Index of the value, or -1.

Removes everything.

Joins the items into text.

Sorts the list in place and returns it.

Reverses the list in place and returns it.

A new list with the same items.