# assert.strict

An extension of assert which overrides some of the methods to use their strict counterparts.

Availability
0.8
0.8
9.2.0
Extends

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Methods

# deepEqual

Availability
8.1.0
8.1.0
9.2.0
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

Availability
8.1.0
8.1.0
9.2.0
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

Availability
8.1.0
8.1.0
9.2.0
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

Availability
8.1.0
8.1.0
9.2.0
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