Skip to content

Commit

Permalink
change recommendation text
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagaram committed Mar 15, 2023
1 parent 5db75f0 commit 2741d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core__Object.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
`is` determines if two objects are identical in all contexts. Objects, arrays, records, and other non-primitives are only identical if they reference the **exact** same object in memory. Primitives like ints, floats, and strings are identical if they have the same value. `+0` and `-0` are distinct. NaN is equal to itself.
**Note:** In most scenarios use `==` and `===`. If the type you want to compare by value has an `equals` function, use it.
**Note:** In most scenarios use `==` or `===` or the custom `equals` function (if provided) for the type.
The `==` operator [is different in ReScript than Javascript](https://rescript-lang.org/docs/manual/latest/overview#boolean). Arrays, records and other non-primitives are equal if they have the same contents (deep equality).
Expand Down

0 comments on commit 2741d73

Please sign in to comment.