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 0.11.0-preview.1.