effect-io-ai

Package: effect
Module: Tuple

Tuple.make

Constructs a new tuple from the provided values.

Example

import * as assert from "node:assert"
import { make } from "effect/Tuple"

assert.deepStrictEqual(make(1, 'hello', true), [1, 'hello', true])

Signature

declare const make: <A extends ReadonlyArray<any>>(...elements: A) => A

Source

Since v2.0.0