Skip to main content

@rbxts/expect > Placeholder > actual

Placeholder.actual property

The "actual" variable in an expect() statement.

Signature:

actual: ActualPlaceholder;

Remarks

This is the first variable passed into expect() when starting an assertion chain.

We refer to it as the "actual" variable, as it's a contrast to the expected variable.

Note that you shouldn't use actual directly in your messages, instead you should use one of the properties of this type.