lamed_test
Version:
Mocha unit testing made easy
16 lines (12 loc) • 639 B
Markdown
>**isEqual**(object1, object2, objectCheck, looseNullCheck)
- Performs a deep comparison between two values to determine if they are equivalent.
- **Return {bool}** - Returns true if the objects are the same.
- See [Functions](../functions.md)
| Parameter |Type |Default |Description |
| ---- | ---- | ---- | ---- |
**object1** |* | |Compare value1 |
**object2** |* | |Compare value2 |
**objectCheck** |bool |true |If true perform an object check on objects vs. strings |
**looseNullCheck** |bool |false |If true then NaN === Null === '' === undefined |