List.add

void add(in T item, nuint at = ^0)

Adds or inserts a single item.

Parameters

in T
item

A reference to the item to insert.

nuint
at = ^0

The index before which the item is inserted. If at >= this.length then the item is inserted at the end of the list.

Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.