# assert.strict
An extension of assert which overrides some of the methods to use their strict counterparts.
NOTE
This is an abstract type. Any object of this structure can be used where this type is used.
# Methods
# deepEqual
deepEqual(actual, expected[, message]) → void
equivalent to deepStrictEqual
Parameters
Name | Type | Description |
---|---|---|
actual | any | The actual value |
expected | any | The expected value |
message | String | Error | error message |
Returns
- Type
- void
# equal
equal(actual, expected[, message]) → void
equivalent to strictEqual
Parameters
Name | Type | Description |
---|---|---|
actual | any | The actual value |
expected | any | The expected value |
message | String | Error | error message |
Returns
- Type
- void
# notDeepEqual
notDeepEqual(actual, expected[, message]) → void
equivalent to notDeepStrictEqual
Parameters
Name | Type | Description |
---|---|---|
actual | any | The actual value |
expected | any | The expected value |
message | String | Error | error message |
Returns
- Type
- void
# notEqual
notEqual(actual, expected[, message]) → void
equivalent to notStrictEqual
Parameters
Name | Type | Description |
---|---|---|
actual | any | The actual value |
expected | any | The expected value |
message | String | Error | error message |
Returns
- Type
- void