StructClear

Clear all items from struct

Method Signature

StructClear(structure=[modifiableStruct])

Arguments

Argument
Type
Required
Description
Default

structure

modifiableStruct

true

The struct to clear.

Examples

Script Syntax

Run Example

profile = { 
	NAME : "John",
	INSTRUMENT : "guitar",
	OCCUPATION : "singer"
};
structClear( profile );
writeOutput( JSONSerialize( profile ) );

Result: An empty struct

Tag Syntax

Result: An empty struct

Additional Examples

Run Example

Last updated

Was this helpful?