Skip to main content

@rbxts/expect > place

place variable

Utility constant for specifying dynamic variables in expect error messages.

Signature:

place: Placeholder

Remarks

Implements the Placeholder interface.

Can be used for cleaner messages.

Example

new ExpectMessageBuilder(
`Expected ${place.name} to ${place.not} equal ${place.expected.value}`
);