effect-io-ai

Package: effect
Module: TArray

TArray.transform

Atomically updates all elements using a pure function.

Signature

declare const transform: { <A>(f: (value: A) => A): (self: TArray<A>) => STM.STM<void>; <A>(self: TArray<A>, f: (value: A) => A): STM.STM<void>; }

Source

Since v2.0.0