effect-io-ai

Package: effect
Module: Array

Array.Array

Exposes the global array constructor.

When to use

Use to access native JavaScript array constructor methods such as isArray or from from the Effect module namespace.

Example (Accessing the Array constructor)

import { Array } from "effect"

const arr = new Array.Array(3)
console.log(arr) // [undefined, undefined, undefined]

Signature

declare const Array: ArrayConstructor

Source

Since v4.0.0