Package: effect
Module: Array
Returns the number of elements in a ReadonlyArray.
When to use
Use when you need length as a composable function rather than a property access.
Example (Getting the length)
import { Array } from "effect"
console.log(Array.length([1, 2, 3])) // 3
Signature
declare const length: <A>(self: ReadonlyArray<A>) => number
Since v2.0.0