Equal
Module Info:
moduleType: "internal",
moduleName: "equalTo"
Description
The equalTo
function compares two values and returns true if both values are (deep) equal.
Inputs
Name | Type | Required |
---|---|---|
A | any | ✔ |
B | any | ✔ |
Outputs
Name | Type |
---|---|
isEqual | boolean |
Examples
Inputs | Outputs | |
---|---|---|
A | B | isEqual |
"abc" | "abc" | true |
"abcd" | "abc" | false |
{ name: "Matt" } | { name: "Matt" } | true |
{ name: "Matt" } | { name: "Mat" } | false |