Module

x/rambda/immutable.d.ts>clone

Faster and smaller alternative to Ramda
Latest
function clone
import { clone } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

It creates a deep copy of the input, which may contain (nested) Arrays and Objects, Numbers, Strings, Booleans and Dates.

Parameters

input: readonly T[]

Returns

readonly T[]