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.6.0-preview.1+4dde68eca4014e9b19e7d7ad0fdae6b2036be640.