Skip to main content

@rbxts/expect > ExpectMethodResult

ExpectMethodResult type

The result of an expect() method call.

Signature:

type ExpectMethodResult = Result<ExpectMessageBuilder, ExpectMessageBuilder>;

References: ExpectMessageBuilder

Remarks

A value of Result.ok means the check passed.

A value of Result.err means the check failed.