Deep Equals

by Morgen Peschke

Version 1 (August 23, 2016)

Download (24 downloads)

The = operator doesn't work with array or dictionary values.

Here's a snippet that does provide a deep equality test.

This uses the "subroutine/goto" pattern, expects it's arguments as a dictionary in a variable named "args", and stores it's return value in a variable named "equal".