Skip to main content

@rbxts/expect > Assertion > equals

Assertion.equals() method

Asserts that the value is deep equal to the expectedValue.

Signature:

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

Parameters

Parameter

Type

Description

expectedValue

R

Returns:

Assertion<R>

Remarks

Type alias for deepEqual