Skip to main content

@rbxts/expect > Assertion > equal

Assertion.equal() method

Asserts that the value is deep equal to the expectedValue.

Signature:

equal<R = T>(expectedValue: R): Assertion<R>;

Parameters

Parameter

Type

Description

expectedValue

R

Returns:

Assertion<R>

Remarks

Type alias for deepEqual