@rbxts/expect > Assertion > shallowEquals
Assertion.shallowEquals() method
Asserts that the value is shallow equal to the expectedValue
.
Signature:
shallowEquals<R = T>(expectedValue: R): Assertion<R>;
Parameters
Parameter | Type | Description |
---|---|---|
expectedValue | R |
Returns:
Assertion<R>
Remarks
Type alias for shallowEqual.