For the complete documentation index, see llms.txt. This page is also available as Markdown.

ToModifiable

Convert an array, struct, query or set to its Modifiable counterpart.

Method Signature

ToModifiable(value=[any])

Arguments

Argument
Type
Required
Description
Default

value

any

true

The array, struct, query or set to convert.

Examples

Convert to a modifiable copy

data = { name: "test" };
frozen = toUnmodifiable( data );
modifiable = toModifiable( frozen );
modifiable.name = "changed";
writeOutput( modifiable.name );

Result: changed

Last updated

Was this helpful?