-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc3a832
commit 7eaa4c2
Showing
9 changed files
with
328 additions
and
452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { equal as _equal } from '../deps.ts' | ||
|
||
/** | ||
* Returns `true` if its arguments are equivalent, `false` otherwise. Handles cyclical data structures. | ||
* | ||
* @param a - Input any value | ||
* @param b - Input any value | ||
* @returns Return `true` if the reference memory is the same or the property members and their values are the same | ||
* | ||
* @example | ||
* ```ts | ||
* equals(-0, 0) // true | ||
* equals(NaN, NaN) // true | ||
* equals([[[[]]]], [[[[]]]]) // true | ||
* equals({ a: { b: [1, 2, 3]}}, { a: { b: [1, 2, 3]}}) // true | ||
* ``` | ||
* | ||
* @beta | ||
*/ | ||
const equal = _equal | ||
|
||
export { equal } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.