Skip to main content

@rbxts/expect > Assertion > eq

Assertion.eq() method

Asserts that the value is shallow equal to the expectedValue.

Signature:

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

Parameters

Parameter

Type

Description

expectedValue

R

Returns:

Assertion<R>

Remarks

Type alias for equal.