Artisan SVG > Script (script) (file-format-javascript)
Artisan SVG > Object Helpers (object-helpers) (box-3)

Compare the Schema of Two Objects

Snippet
Universal
Intermediate

Snippets are pieces of workflows. You can copy and paste them directly into any Tray workflow.

New to snippets? Watch this video

For more details please see our Snippet Documentation

About this Snippet
Copy

This snippet compares two object schemas. If they are the same it returns TRUE otherwise FALSE

All values are ignored. Only the Schema matters in the comparison. It can handle nested/complex objects

It comes with two example objects that you can pass it to test. Delete the two example object steps when you are ready to test with your own data.

See it in action
Copy