ListExtensions<T> extension

List extension methods.

on

Methods

insertFirst(T element) List<T>
Insert the element first.
insertLast(T element) List<T>
Insert the element last.
insertWhere(T element, bool test(T? prev, T? current, T? next)) List<T>
Inserts an insert element at the element's position if True with a test.