Documentation / @ripl/utilities / objectFreeze
Function: objectFreeze() ​
objectFreeze<
TValue>(value):Readonly<TValue>
Defined in: object.ts:2
Creates a shallow frozen copy of the given object.
Type Parameters ​
| Type Parameter |
|---|
TValue extends object |
Parameters ​
| Parameter | Type |
|---|---|
value | TValue |
Returns ​
Readonly<TValue>