StructGetMetadata
Gets Struct-specific metadata of the requested struct.
Method Signature
StructGetMetadata(struct=[structloose])Arguments
Argument
Type
Required
Description
Default
struct
struct
true
The struct from which to retrieve the metadata
Examples
Get struct metadata
data = { name: "test", value: 42 };
meta = structGetMetadata( data );
writeOutput( meta.containsKey( "type" ) );
Result: true
Using the $bx member
data = { a: 1, b: 2 };
meta = data.$bx.meta;
writeOutput( meta.type );
Result: Struct
Related
Last updated
Was this helpful?
