Skip to content

Instantly share code, notes, and snippets.

@smpnjn
Last active December 11, 2020 13:22
Show Gist options
  • Save smpnjn/0a717ce5d1cfa2458049d02256e313cf to your computer and use it in GitHub Desktop.
Save smpnjn/0a717ce5d1cfa2458049d02256e313cf to your computer and use it in GitHub Desktop.
let myTuple = #["some", "array"];
let foreignTuple = #["some", "array"];
let myRecord = #{
user: {
name: "Mark",
age: 25
location: {
address: "Manhattan"
}
}
}
let importRecord = #{
user: {
name: "Mark",
age: 25
location: {
address: "Manhattan"
}
}
}
(myTuple === foreignTuple) // returns true;
(myRecord === importRecord) // returns true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment