effect-io-ai

Package: effect
Module: MutableList

MutableList.prepend

Prepends the specified value to the beginning of the list.

Signature

declare const prepend: { <A>(value: A): (self: MutableList<A>) => MutableList<A>; <A>(self: MutableList<A>, value: A): MutableList<A>; }

Source

Since v2.0.0