structEquals

Performs a deep comparison of two structures to see if they represent the same values

structEquals(struct1, struct2) → returns boolean

This function requires

structEquals Argument Reference

struct1 struct
Required

A structure to compare

struct2 struct
Required

A structure to compare

Examples sample code invoking the structEquals function

config1 = {a:0, b:0};
config2 = {a:0, b:1};
writeOutput( structEquals(config1, config2) );

Expected Result: NO


Fork me on GitHub