effect-io-ai

Package: effect
Module: Cause

Cause.size

Calculates the size of a Cause.

Details

This function returns the total number of Cause nodes in the semiring structure, reflecting how many individual error elements are recorded.

Signature

declare const size: <E>(self: Cause<E>) => number

Source

Since v2.0.0