@serenity-is/corelib / deepClone

Function: deepClone()

deepClone<T>(a): T

Defined in: src/compat/system-compat.ts:34

Deep clones an object or value.

Type Parameters

T

T = any

Parameters

a

T

The value to clone.

Returns

T

A deep clone of the input value.