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
profile = {
NAME : "John",
INSTRUMENT : "guitar",
OCCUPATION : "singer"
};
structClear( profile );
writeOutput( JSONSerialize( profile ) );
Result: An empty struct
Tag Syntax
Result: An empty struct
Additional Examples
Related
Last updated
Was this helpful?
