Skip to main content

@rbxts/expect > ExpectMessageBuilder > copy

ExpectMessageBuilder.copy() method

Creates a deep copy of this instance.

Signature:

copy(): ExpectMessageBuilder;

Returns:

ExpectMessageBuilder

Remarks

All of the data that has been added to it so far will still be attached.

You generally want to use the use method instead, although there's not any functional different at this moment.